]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/crawlpad/config.h
a07c79cd20b09a112a48bfc6420380e8e37f4033
[qmk_firmware.git] / keyboards / crawlpad / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 #include "config_common.h"
5
6 /* USB Device descriptor parameter */
7 #define VENDOR_ID       0xFEED
8 #define PRODUCT_ID      0x6070
9 #define DEVICE_VER      0x0001
10 #define MANUFACTURER    WoodKeys.click
11 #define PRODUCT         CrawlPad
12 #define DESCRIPTION     ATX Keycrawl 2017
13
14 /* key matrix size */
15 #define MATRIX_ROWS 4
16 #define MATRIX_COLS 4
17
18 /* key matrix pins */
19 #define MATRIX_ROW_PINS { F0, F1, F4, F5 }
20 #define MATRIX_COL_PINS { D4, D5, D6, D7 }
21 #define UNUSED_PINS
22
23 /* Pins for custom per-row LEDs. Should be changed to use named pins. */
24 #define LED_ROW_PINS { 8, 9, 10, 11 }
25
26 /* COL2ROW or ROW2COL */
27 #define DIODE_DIRECTION ROW2COL
28
29 /* Set 0 if debouncing isn't needed */
30 #define DEBOUNCING_DELAY 5
31
32 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
33 #define LOCKING_SUPPORT_ENABLE
34
35 /* Locking resynchronize hack */
36 #define LOCKING_RESYNC_ENABLE
37
38 /* key combination for command */
39 #define IS_COMMAND() ( \
40     false \
41 )
42
43 /* prevent stuck modifiers */
44 #define PREVENT_STUCK_MODIFIERS
45
46 #ifdef RGBLIGHT_ENABLE
47 #define RGB_DI_PIN D3
48 #define RGBLIGHT_ANIMATIONS
49 #define RGBLED_NUM 3
50 #endif
51
52 #endif