]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/sx60/config.h
Merge branch 'master' of github.com:qmk/qmk_firmware into hf/shinydox
[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
25
26 /* COL2ROW or ROW2COL */
27 #define DIODE_DIRECTION COL2ROW
28
29 /* number of backlight levels */
30 #define BACKLIGHT_PIN B7
31 #ifdef BACKLIGHT_PIN
32 #define BACKLIGHT_LEVELS 3
33 #endif
34
35 /* Set 0 if debouncing isn't needed */
36 #define DEBOUNCING_DELAY 5
37
38 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
39 #define LOCKING_SUPPORT_ENABLE
40
41 /* Locking resynchronize hack */
42 #define LOCKING_RESYNC_ENABLE
43
44 /* key combination for command */
45 #define IS_COMMAND() ( \
46     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
47 )
48
49 /* prevent stuck modifiers */
50 #define PREVENT_STUCK_MODIFIERS
51
52
53 #ifdef RGB_DI_PIN
54 #define RGBLIGHT_ANIMATIONS
55 #define RGBLED_NUM 0
56 #define RGBLIGHT_HUE_STEP 8
57 #define RGBLIGHT_SAT_STEP 8
58 #define RGBLIGHT_VAL_STEP 8
59 #endif
60
61 #endif