diff options
Diffstat (limited to 'keyboards/sneakbox/aliceclonergb/config.h')
-rw-r--r-- | keyboards/sneakbox/aliceclonergb/config.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/keyboards/sneakbox/aliceclonergb/config.h b/keyboards/sneakbox/aliceclonergb/config.h new file mode 100644 index 000000000..6e30dbca9 --- /dev/null +++ b/keyboards/sneakbox/aliceclonergb/config.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | Copyright 2021 Bryan Ong | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x5342 | ||
24 | #define PRODUCT_ID 0x0006 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Sneakbox | ||
27 | #define PRODUCT AliceClone RGB | ||
28 | |||
29 | /*Bootmagic boot button, set to topmost, leftmost key */ | ||
30 | #define BOOTMAGIC_LITE_ROW 2 | ||
31 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
32 | |||
33 | /* encoder */ | ||
34 | /* #define NUMBER_OF_ENCODERS 1 */ | ||
35 | #define ENCODERS_PAD_A { D3 } | ||
36 | #define ENCODERS_PAD_B { D2 } | ||
37 | #define ENCODER_RESOLUTION 1 | ||
38 | |||
39 | |||
40 | /* key matrix size */ | ||
41 | #define MATRIX_ROWS 10 | ||
42 | #define MATRIX_COLS 8 | ||
43 | |||
44 | /* key matrix pins */ | ||
45 | #define MATRIX_ROW_PINS { F1, E6, F4, B1, F5, B2, F6, B3, F7, B7 } | ||
46 | #define MATRIX_COL_PINS { F0, D0, C7, C6, B6, B5, B4, D1 } | ||
47 | #define UNUSED_PINS | ||
48 | |||
49 | /* COL2ROW or ROW2COL */ | ||
50 | #define DIODE_DIRECTION COL2ROW | ||
51 | |||
52 | /* Set 0 if debouncing isn't needed */ | ||
53 | #define DEBOUNCE 5 | ||
54 | |||
55 | #define LED_NUM_LOCK_PIN D4 | ||
56 | #define LED_CAPS_LOCK_PIN D6 | ||
57 | #define LED_SCROLL_LOCK_PIN D7 | ||
58 | |||
59 | #define RGB_DI_PIN D5 | ||
60 | #define RGBLIGHT_EFFECT_BREATHING | ||
61 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
62 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
63 | #define RGBLIGHT_EFFECT_SNAKE | ||
64 | #define RGBLIGHT_EFFECT_KNIGHT | ||
65 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
66 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
67 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
68 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
69 | #define RGBLIGHT_EFFECT_TWINKLE | ||
70 | #define RGBLED_NUM 16 | ||
71 | #define RGBLIGHT_HUE_STEP 8 | ||
72 | #define RGBLIGHT_SAT_STEP 8 | ||
73 | #define RGBLIGHT_VAL_STEP 8 | ||