]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/66/rev3/config.h
[Keyboard] Add QMK configurator JSON for Alice PCB (#6397)
[qmk_firmware.git] / keyboards / clueboard / 66 / rev3 / 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      0x2370
8 #define DEVICE_VER      0x0001
9 #define MANUFACTURER    Clueboard
10 #define PRODUCT         Clueboard
11 #define DESCRIPTION     QMK keyboard firmware for Clueboard
12
13 /* key matrix size */
14 #define MATRIX_ROWS 10
15 #define MATRIX_COLS 8
16
17 /* ROWS: Top to bottom, COLS: Left to right
18 */
19 #define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
20 #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
21 #define UNUSED_PINS
22
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION COL2ROW
25
26 /* Set 0 if debouncing isn't needed */
27 #define DEBOUNCE 5
28
29 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
30 #define LOCKING_SUPPORT_ENABLE
31 /* Locking resynchronize hack */
32 #define LOCKING_RESYNC_ENABLE
33
34 /*
35  * Feature disable options
36  *  These options are also useful to firmware size reduction.
37  */
38
39 /* disable debug print */
40 //#define NO_DEBUG
41
42 /* disable print */
43 //#define NO_PRINT
44
45 /* disable action features */
46 //#define NO_ACTION_LAYER
47 //#define NO_ACTION_TAPPING
48 //#define NO_ACTION_ONESHOT
49 //#define NO_ACTION_MACRO
50 //#define NO_ACTION_FUNCTION
51
52  /* Backlight configuration
53  */
54 #define BACKLIGHT_LEVELS 1
55
56 /* Underlight configuration
57  */
58 #define RGB_DI_PIN D7
59 #define RGBLED_NUM 18     // Number of LEDs
60 #define RGBLIGHT_HUE_STEP 32
61 #define RGBLIGHT_SAT_STEP 17
62 #define RGBLIGHT_VAL_STEP 17
63
64 #define RGBLIGHT_ANIMATIONS
65 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
66 #define RGBLIGHT_EFFECT_BREATHE_MAX 200
67 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
68 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
69 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3   // How many LEDs wide to light up
70 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2   // The led to start at
71 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5  // How many LEDs to travel
72 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4    // How many LEDs wide to light up