diff options
Diffstat (limited to 'keyboards/sck/gtm/config.h')
-rw-r--r-- | keyboards/sck/gtm/config.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/sck/gtm/config.h b/keyboards/sck/gtm/config.h new file mode 100644 index 000000000..952f484bd --- /dev/null +++ b/keyboards/sck/gtm/config.h | |||
@@ -0,0 +1,44 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "config_common.h" | ||
4 | |||
5 | /* USB Device descriptor parameter */ | ||
6 | #define VENDOR_ID 0xFEED | ||
7 | #define PRODUCT_ID 0x6090 | ||
8 | #define DEVICE_VER 0x0002 | ||
9 | #define MANUFACTURER SpaceCityKeyboards | ||
10 | #define PRODUCT GTM Pad | ||
11 | #define DESCRIPTION Grand Theft Macro Pad | ||
12 | |||
13 | /* key matrix size */ | ||
14 | #define MATRIX_ROWS 3 | ||
15 | #define MATRIX_COLS 6 | ||
16 | |||
17 | /* key matrix pins */ | ||
18 | #define MATRIX_ROW_PINS { C4, C5, D1 } | ||
19 | #define MATRIX_COL_PINS { B4, B5, B6, B7, C7, D0 } | ||
20 | #define UNUSED_PINS | ||
21 | |||
22 | |||
23 | #define ENCODERS_PAD_A { D2 } | ||
24 | #define ENCODERS_PAD_B { D3 } | ||
25 | #define ENCODER_RESOLUTION 1 | ||
26 | |||
27 | /* COL2ROW or ROW2COL */ | ||
28 | #define DIODE_DIRECTION COL2ROW | ||
29 | |||
30 | /* Set 0 if debouncing isn't needed */ | ||
31 | #define DEBOUNCE 5 | ||
32 | |||
33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
34 | #define LOCKING_SUPPORT_ENABLE | ||
35 | |||
36 | /* Locking resynchronize hack */ | ||
37 | #define LOCKING_RESYNC_ENABLE | ||
38 | |||
39 | |||
40 | #ifdef RGBLIGHT_ENABLE | ||
41 | #define RGB_DI_PIN B0 | ||
42 | #define RGBLIGHT_ANIMATIONS | ||
43 | #define RGBLED_NUM 4 | ||
44 | #endif | ||