]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard_66/rev2/config.h
Clueboard 60% support (#1746)
[qmk_firmware.git] / keyboards / clueboard_66 / rev2 / config.h
1 #ifndef REV2_CONFIG_H
2 #define REV2_CONFIG_H
3
4 #include "../config.h"
5
6 #define PRODUCT_ID      0x2320
7 #define DEVICE_VER      0x0001
8
9 /* key matrix size */
10 #define MATRIX_ROWS 10
11 #define MATRIX_COLS 8
12
13 // ROWS: Top to bottom, COLS: Left to right
14 /* Row pin configuration
15 * row: 0  1  2  3  4  5  6  7  8  9
16 * pin: B2 C7 C6 B6 B5 B0 B3 D5 D3 D2
17 */
18 #define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
19 /* Column pin configuration
20  * col: 0  1  2  3  4  5  6  7
21  * pin: F0 F1 F4 F5 F6 F7 E6 B1
22  */
23 #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
24 #define UNUSED_PINS
25
26  /* Backlight configuration
27  */
28 #define BACKLIGHT_LEVELS 1
29
30 /* Underlight configuration
31  */
32 #define RGB_DI_PIN D7
33 #define RGBLED_NUM 14     // Number of LEDs
34 #define RGBLIGHT_HUE_STEP 32
35 #define RGBLIGHT_SAT_STEP 17
36 #define RGBLIGHT_VAL_STEP 17
37
38 #define RGBLIGHT_ANIMATIONS
39 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
40 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
41 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3   // How many LEDs wide to light up
42 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 1   // The led to start at
43 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5  // How many LEDs to travel
44 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4    // How many LEDs wide to light up
45
46 #endif