]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/66_hotswap/gen1/config.h
Clueboard hotswap support (#2376)
[qmk_firmware.git] / keyboards / clueboard / 66_hotswap / gen1 / config.h
1 #ifndef CLUEBOARD_66_REV3_CONFIG_H
2 #define CLUEBOARD_66_REV3_CONFIG_H
3
4 #include "config_common.h"
5
6 #define PRODUCT_ID      0x2390
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
19 #define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
20 /* Column pin configuration
21  * col: 0  1  2  3  4  5  6  7
22  * pin: F0 F1 F4 F5 F6 F7 E6 B1
23  */
24 #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
25 #define UNUSED_PINS
26
27 /* Speaker configuration
28  */
29 //#define SPEAKER_PIN B7 // FIXME: find the correct name for this define
30
31 /* Backlight configuration
32  */
33 #define BACKLIGHT_LEVELS 1
34
35 /* Underlight configuration
36  */
37 #define RGB_DI_PIN D7
38 #define RGBLED_NUM 26     // Number of LEDs
39 #define RGBLIGHT_HUE_STEP 32
40 #define RGBLIGHT_SAT_STEP 17
41 #define RGBLIGHT_VAL_STEP 17
42
43 #define RGBLIGHT_ANIMATIONS
44 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
45 #define RGBLIGHT_EFFECT_BREATHE_MAX 200
46 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
47 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
48 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 4   // How many LEDs wide to light up
49 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 16   // The led to start at
50 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 8  // How many LEDs to travel
51 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4    // How many LEDs wide to light up
52
53 #endif