]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/sx60/config.h
cad8b0ba455e79c6a68100e3a55ae3f240a07556
[qmk_firmware.git] / keyboards / sx60 / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 #include "config_common.h"
5
6 /* USB Device descriptor parameter */
7 #define VENDOR_ID       0xFEED
8 #define PRODUCT_ID      0x6060
9 #define DEVICE_VER      0x0001
10 #define MANUFACTURER    qmkbuilder
11 #define PRODUCT         keyboard
12 #define DESCRIPTION     Keyboard
13
14 /* key matrix size */
15 #define MATRIX_ROWS 5
16 #define MATRIX_COLS 16
17 #define ATMEGA_COLS 8
18
19 /* key matrix pins */
20 #define MATRIX_ROW_PINS { B1, B2, B3, C6, B6 }
21 #define MATRIX_COL_PINS { F6, B5, B4, D7, D6, D5, D3, D2 }
22 #define UNUSED_PINS
23
24 /* COL2ROW or ROW2COL */
25 #define DIODE_DIRECTION COL2ROW
26
27 /* number of backlight levels */
28 #define BACKLIGHT_PIN B7
29 #ifdef BACKLIGHT_PIN
30 #define BACKLIGHT_LEVELS 3
31 #endif
32
33 /* Set 0 if debouncing isn't needed */
34 #define DEBOUNCING_DELAY 5
35
36 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37 #define LOCKING_SUPPORT_ENABLE
38
39 /* Locking resynchronize hack */
40 #define LOCKING_RESYNC_ENABLE
41
42 #ifdef RGB_DI_PIN
43 #define RGBLIGHT_ANIMATIONS
44 #define RGBLED_NUM 0
45 #define RGBLIGHT_HUE_STEP 8
46 #define RGBLIGHT_SAT_STEP 8
47 #define RGBLIGHT_VAL_STEP 8
48 #endif
49
50 #endif