diff options
Diffstat (limited to 'keyboards/yeehaw/config.h')
-rw-r--r-- | keyboards/yeehaw/config.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/keyboards/yeehaw/config.h b/keyboards/yeehaw/config.h new file mode 100644 index 000000000..c13c70eae --- /dev/null +++ b/keyboards/yeehaw/config.h | |||
@@ -0,0 +1,50 @@ | |||
1 | /* Copyright 2021 Caleb Lightfoot | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #pragma once | ||
17 | |||
18 | #include "config_common.h" | ||
19 | |||
20 | /* USB Device descriptor parameter */ | ||
21 | #define VENDOR_ID 0x5351 | ||
22 | #define PRODUCT_ID 0x5458 | ||
23 | #define DEVICE_VER 0x0100 | ||
24 | #define MANUFACTURER squashkb | ||
25 | #define PRODUCT Yeehaw | ||
26 | |||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 1 | ||
30 | #define MATRIX_COLS 14 | ||
31 | |||
32 | /* Keyboard Matrix Assignments */ | ||
33 | #define DIRECT_PINS { \ | ||
34 | { D2, D4, C6, E6, F5, B1, D3, D7, B4, F6, B3, B5, F7, F4 } \ | ||
35 | } | ||
36 | |||
37 | #define ENCODERS_PAD_A { D1 } | ||
38 | #define ENCODERS_PAD_B { D0 } | ||
39 | |||
40 | #define RGB_DI_PIN B2 | ||
41 | #ifdef RGB_DI_PIN | ||
42 | #define RGBLED_NUM 7 | ||
43 | #define RGBLIGHT_HUE_STEP 8 | ||
44 | #define RGBLIGHT_SAT_STEP 8 | ||
45 | #define RGBLIGHT_VAL_STEP 8 | ||
46 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
47 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
48 | /*== all animations enable ==*/ | ||
49 | #define RGBLIGHT_ANIMATIONS | ||
50 | #endif | ||