]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/bm16s/config.h
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / bm16s / config.h
1 #pragma once
2 #include "config_common.h"
3
4 /* USB Device descriptor parameter */
5 #define VENDOR_ID       0xFEED
6 #define PRODUCT_ID      0x6060
7 #define DEVICE_VER      0x0001
8 #define MANUFACTURER    KPrepublic
9 #define PRODUCT         bm16s
10 #define DESCRIPTION     KPrepublic bm16s
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 { D1, D0, D3, D2 }
18 #define MATRIX_COL_PINS { F7, F6, D4, D6 }
19 #define UNUSED_PINS
20
21 /* COL2ROW or ROW2COL */
22 #define DIODE_DIRECTION COL2ROW
23
24 /* number of backlight levels */
25
26 #ifdef BACKLIGHT_PIN
27     #define BACKLIGHT_LEVELS 3
28 #endif
29
30 /* Set 0 if debouncing isn't needed */
31 #define DEBOUNCE 5
32
33 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
34 #define LOCKING_SUPPORT_ENABLE
35
36 /* Locking resynchronize hack */
37 #define LOCKING_RESYNC_ENABLE
38
39 #define RGB_DI_PIN E2
40 #ifdef RGB_DI_PIN
41     #define RGBLIGHT_ANIMATIONS
42     #define RGBLED_NUM 16
43     #define RGBLIGHT_HUE_STEP 8
44     #define RGBLIGHT_SAT_STEP 8
45     #define RGBLIGHT_VAL_STEP 8
46 #endif