Commit | Line | Data |
---|---|---|
215c2119 JH |
1 | #ifndef REV2_CONFIG_H |
2 | #define REV2_CONFIG_H | |
3 | ||
800ec55d | 4 | #include "config_common.h" |
215c2119 JH |
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 | */ | |
57e08eb8 | 32 | #define RGB_DI_PIN D7 |
215c2119 | 33 | #define RGBLED_NUM 14 // Number of LEDs |
4580d3a7 | 34 | #define RGBLIGHT_HUE_STEP 32 |
215c2119 JH |
35 | #define RGBLIGHT_SAT_STEP 17 |
36 | #define RGBLIGHT_VAL_STEP 17 | |
37 | ||
4580d3a7 | 38 | #define RGBLIGHT_ANIMATIONS |
ad49db8c | 39 | #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 |
40 | #define RGBLIGHT_EFFECT_BREATHE_MAX 200 | |
4580d3a7 | 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 | ||
e85bf50e | 48 | #endif |