]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/66/rev2/config.h
Reorganize clueboard into a single directory (#1855)
[qmk_firmware.git] / keyboards / clueboard / 66 / rev2 / config.h
1 #ifndef CLUEBOARD_66_REV2_CONFIG_H
2 #define CLUEBOARD_66_REV2_CONFIG_H
3
4 #include "config_common.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_BREATHE_CENTER 1
40 #define RGBLIGHT_EFFECT_BREATHE_MAX 200
41 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
42 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
43 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3   // How many LEDs wide to light up
44 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 1   // The led to start at
45 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5  // How many LEDs to travel
46 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4    // How many LEDs wide to light up
47
48 #endif