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