diff options
Diffstat (limited to 'keyboards/keebio/dilly/config.h')
-rw-r--r-- | keyboards/keebio/dilly/config.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/keebio/dilly/config.h b/keyboards/keebio/dilly/config.h new file mode 100644 index 000000000..1489ec302 --- /dev/null +++ b/keyboards/keebio/dilly/config.h | |||
@@ -0,0 +1,51 @@ | |||
1 | #ifndef CONFIG_H | ||
2 | #define CONFIG_H | ||
3 | |||
4 | #include "config_common.h" | ||
5 | |||
6 | /* USB Device descriptor parameter */ | ||
7 | #define VENDOR_ID 0xCB10 | ||
8 | #define PRODUCT_ID 0x113a | ||
9 | #define DEVICE_VER 0x0100 | ||
10 | #define MANUFACTURER Keebio | ||
11 | #define PRODUCT Dilly | ||
12 | #define DESCRIPTION 30 percent ortholinear keyboard | ||
13 | |||
14 | /* key matrix size */ | ||
15 | #define MATRIX_ROWS 6 | ||
16 | #define MATRIX_COLS 5 | ||
17 | |||
18 | /* key matrix pins */ | ||
19 | #define MATRIX_ROW_PINS { D7, E6, B4, B1, B3, B2 } | ||
20 | #define MATRIX_COL_PINS { D2, D4, C6, F6, F5 } | ||
21 | #define UNUSED_PINS | ||
22 | |||
23 | /* COL2ROW or ROW2COL */ | ||
24 | #define DIODE_DIRECTION COL2ROW | ||
25 | |||
26 | /* number of backlight levels */ | ||
27 | #define BACKLIGHT_PIN B5 | ||
28 | #ifdef BACKLIGHT_PIN | ||
29 | #define BACKLIGHT_LEVELS 3 | ||
30 | #endif | ||
31 | |||
32 | /* Set 0 if debouncing isn't needed */ | ||
33 | #define DEBOUNCING_DELAY 5 | ||
34 | |||
35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
36 | #define LOCKING_SUPPORT_ENABLE | ||
37 | |||
38 | /* Locking resynchronize hack */ | ||
39 | #define LOCKING_RESYNC_ENABLE | ||
40 | |||
41 | #ifdef RGB_DI_PIN | ||
42 | #define RGBLIGHT_ANIMATIONS | ||
43 | #define RGBLIGHT_HUE_STEP 8 | ||
44 | #define RGBLIGHT_SAT_STEP 8 | ||
45 | #define RGBLIGHT_VAL_STEP 8 | ||
46 | #endif | ||
47 | #define RGB_DI_PIN D3 | ||
48 | |||
49 | #define RGBLED_NUM 10 | ||
50 | |||
51 | #endif | ||