]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/playkbtw/ca66/config.h
Merge branch 'master' of github.com:qmk/qmk_firmware into hf/shinydox
[qmk_firmware.git] / keyboards / playkbtw / ca66 / 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    Barry
11 #define PRODUCT         CA66
12 #define DESCRIPTION     CA66
13
14 /* key matrix size */
15 #define MATRIX_ROWS 5
16 #define MATRIX_COLS 15
17
18 /* key matrix pins */
19 #define MATRIX_ROW_PINS { F5, F4, F1, B0, B3 }
20 #define MATRIX_COL_PINS { F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, F6, B7, E6 }
21 #define UNUSED_PINS
22
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION COL2ROW
25
26 /* number of backlight levels */
27
28 #define BACKLIGHT_PIN F0
29 #define BACKLIGHT_LEVELS 3
30
31 /* Set 0 if debouncing isn't needed */
32 #define DEBOUNCING_DELAY 5
33
34 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
35 #define LOCKING_SUPPORT_ENABLE
36
37 /* Locking resynchronize hack */
38 #define LOCKING_RESYNC_ENABLE
39
40 /* key combination for command */
41 #define IS_COMMAND() ( \
42     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
43 )
44
45 /* prevent stuck modifiers */
46 #define PREVENT_STUCK_MODIFIERS
47
48 #define RGB_DI_PIN B1
49 #ifdef RGB_DI_PIN
50 #define RGBLIGHT_ANIMATIONS
51 #define RGBLED_NUM 6
52 #define RGBLIGHT_HUE_STEP 8
53 #define RGBLIGHT_SAT_STEP 8
54 #define RGBLIGHT_VAL_STEP 8
55 #endif
56
57 #endif