aboutsummaryrefslogtreecommitdiff
path: root/keyboards/2key2crawl/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/2key2crawl/config.h')
-rw-r--r--keyboards/2key2crawl/config.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/keyboards/2key2crawl/config.h b/keyboards/2key2crawl/config.h
new file mode 100644
index 000000000..27a94a00c
--- /dev/null
+++ b/keyboards/2key2crawl/config.h
@@ -0,0 +1,43 @@
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 WoodKeys.click
10#define PRODUCT 2Key2Crawl
11
12/* key matrix size */
13#define MATRIX_ROWS 2
14#define MATRIX_COLS 7
15
16/* key matrix pins */
17#define MATRIX_ROW_PINS { C4, C5 }
18#define MATRIX_COL_PINS { B3, B4, B5, B6, B7, C7, B2 }
19#define UNUSED_PINS
20
21
22#define ENCODERS_PAD_A { D0 }
23#define ENCODERS_PAD_B { D1 }
24#define ENCODER_RESOLUTION 1
25
26/* COL2ROW or ROW2COL */
27#define DIODE_DIRECTION COL2ROW
28
29/* Set 0 if debouncing isn't needed */
30#define DEBOUNCE 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
39#ifdef RGBLIGHT_ENABLE
40#define RGB_DI_PIN C6
41#define RGBLIGHT_ANIMATIONS
42#define RGBLED_NUM 3
43#endif