]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/66/rev1/config.h
Debounce refactor / API (#3720)
[qmk_firmware.git] / keyboards / clueboard / 66 / rev1 / config.h
1 #pragma once
2
3 #include "config_common.h"
4
5 /* USB Device descriptor parameter */
6 #define VENDOR_ID       0xC1ED
7 #define PRODUCT_ID      0x2301
8 #define DEVICE_VER      0x0003
9 #define MANUFACTURER    Clueboard
10 #define PRODUCT         Clueboard
11 #define DESCRIPTION     QMK keyboard firmware for Clueboard
12
13 /* key matrix size
14  */
15 #define MATRIX_ROWS 5
16 #define MATRIX_COLS 16
17
18 /* ROWS: Top to bottom, COLS: Left to right
19  */
20 #define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 }
21 #define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 }
22 #define UNUSED_PINS
23
24 /* COL2ROW or ROW2COL */
25 #define DIODE_DIRECTION COL2ROW
26
27 /* Set 0 if debouncing isn't needed */
28 #define DEBOUNCING_DELAY 5
29
30 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
31 #define LOCKING_SUPPORT_ENABLE
32 /* Locking resynchronize hack */
33 #define LOCKING_RESYNC_ENABLE
34
35 /*
36  * Feature disable options
37  *  These options are also useful to firmware size reduction.
38  */
39
40 /* disable debug print */
41 //#define NO_DEBUG
42
43 /* disable print */
44 //#define NO_PRINT
45
46 /* disable action features */
47 //#define NO_ACTION_LAYER
48 //#define NO_ACTION_TAPPING
49 //#define NO_ACTION_ONESHOT
50 //#define NO_ACTION_MACRO
51 //#define NO_ACTION_FUNCTION
52
53 /* Underlight configuration
54  */
55 #define RGB_DI_PIN B2
56 #define RGBLIGHT_ANIMATIONS
57 #define RGBLED_NUM 14     // Number of LEDs
58 #define RGBLIGHT_HUE_STEP 10
59 #define RGBLIGHT_SAT_STEP 17
60 #define RGBLIGHT_VAL_STEP 17