diff options
Diffstat (limited to 'keyboards/keebio/stick/config.h')
-rw-r--r-- | keyboards/keebio/stick/config.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/keyboards/keebio/stick/config.h b/keyboards/keebio/stick/config.h new file mode 100644 index 000000000..0a43bb861 --- /dev/null +++ b/keyboards/keebio/stick/config.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /* | ||
2 | Copyright 2021 Danny Nguyen <danny@keeb.io> | ||
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 0xCB10 | ||
24 | #define PRODUCT_ID 0x111C | ||
25 | #define DEVICE_VER 0x0100 | ||
26 | #define MANUFACTURER Keebio | ||
27 | #define PRODUCT The Stick | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 1 | ||
31 | #define MATRIX_COLS 12 | ||
32 | |||
33 | /* key matrix pins */ | ||
34 | #define DIRECT_PINS { \ | ||
35 | { F4, B6, B5, B4, E6, D7, F6, F7, B1, B3, B2, F5 } \ | ||
36 | } | ||
37 | |||
38 | #define ENCODERS_PAD_A { D1, D4 } | ||
39 | #define ENCODERS_PAD_B { D0, C6 } | ||
40 | |||
41 | /* WS2812 RGB LED */ | ||
42 | #define RGB_DI_PIN D3 | ||
43 | #ifdef RGB_DI_PIN | ||
44 | # define RGBLED_NUM 12 | ||
45 | # define RGBLIGHT_HUE_STEP 8 | ||
46 | # define RGBLIGHT_SAT_STEP 8 | ||
47 | # define RGBLIGHT_VAL_STEP 8 | ||
48 | # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
49 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
50 | /*== all animations enable ==*/ | ||
51 | # define RGBLIGHT_ANIMATIONS | ||
52 | // RGB Matrix | ||
53 | # ifdef RGB_MATRIX_ENABLE | ||
54 | # define DRIVER_LED_TOTAL RGBLED_NUM | ||
55 | # endif | ||
56 | #endif | ||
57 | |||
58 | /* COL2ROW or ROW2COL */ | ||
59 | #define DIODE_DIRECTION COL2ROW | ||
60 | |||
61 | #define TAPPING_TERM 200 | ||