]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/66/rev1/config.h
Clueboard refresh (#4902)
[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 /* key combination for command */
36 #define IS_COMMAND() ( \
37     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
38 )
39
40 /*
41  * Feature disable options
42  *  These options are also useful to firmware size reduction.
43  */
44
45 /* disable debug print */
46 //#define NO_DEBUG
47
48 /* disable print */
49 //#define NO_PRINT
50
51 /* disable action features */
52 //#define NO_ACTION_LAYER
53 //#define NO_ACTION_TAPPING
54 //#define NO_ACTION_ONESHOT
55 //#define NO_ACTION_MACRO
56 //#define NO_ACTION_FUNCTION
57
58 /* Underlight configuration
59  */
60 #define RGB_DI_PIN B2
61 #define RGBLIGHT_ANIMATIONS
62 #define RGBLED_NUM 14     // Number of LEDs
63 #define RGBLIGHT_HUE_STEP 10
64 #define RGBLIGHT_SAT_STEP 17
65 #define RGBLIGHT_VAL_STEP 17