aboutsummaryrefslogtreecommitdiff
path: root/keyboards/crawlpad/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crawlpad/config.h')
-rwxr-xr-xkeyboards/crawlpad/config.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/crawlpad/config.h b/keyboards/crawlpad/config.h
new file mode 100755
index 000000000..d923fe0c2
--- /dev/null
+++ b/keyboards/crawlpad/config.h
@@ -0,0 +1,45 @@
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
12/* key matrix size */
13#define MATRIX_ROWS 4
14#define MATRIX_COLS 4
15
16/* key matrix pins */
17#define MATRIX_ROW_PINS { F0, F1, F4, F5 }
18#define MATRIX_COL_PINS { D4, D5, D6, D7 }
19#define UNUSED_PINS
20
21/* Pins for custom per-row LEDs. Should be changed to use named pins. */
22#define LED_ROW_PINS { 8, 9, 10, 11 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION ROW2COL
26
27/* Set 0 if debouncing isn't needed */
28#define DEBOUNCE 5
29
30/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
31#define LOCKING_SUPPORT_ENABLE
32
33/* Locking resynchronize hack */
34#define LOCKING_RESYNC_ENABLE
35
36/* key combination for command */
37#define IS_COMMAND() ( \
38 false \
39)
40
41#ifdef RGBLIGHT_ENABLE
42#define RGB_DI_PIN D3
43#define RGBLIGHT_ANIMATIONS
44#define RGBLED_NUM 3
45#endif