]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/romac/config.h
[Keyboard] add support for romac macropad (#5530)
[qmk_firmware.git] / keyboards / romac / 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      0x6060
8 #define DEVICE_VER      0x0001
9 #define MANUFACTURER    TheRoyalSweatshirt
10 #define PRODUCT         romac
11 #define DESCRIPTION     A *Plaid inspired twelve-key macropad 
12 /* key matrix size */
13 #define MATRIX_ROWS 4
14 #define MATRIX_COLS 3
15
16 /* key matrix pins */
17 #define MATRIX_ROW_PINS { D4, C6, D7, E6 }
18 #define MATRIX_COL_PINS { F7, B1, B3 }
19 #define UNUSED_PINS
20
21 /* COL2ROW or ROW2COL */
22 #define DIODE_DIRECTION COL2ROW
23
24 /* number of backlight levels */
25
26 #define BACKLIGHT_LEVELS 0
27
28 /* Set 0 if debouncing isn't needed */
29 #define DEBOUNCING_DELAY 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 #define RGBLED_NUM 0
38 #define RGBLIGHT_HUE_STEP 8
39 #define RGBLIGHT_SAT_STEP 8
40 #define RGBLIGHT_VAL_STEP 8