diff options
Diffstat (limited to 'keyboards/soy20/config.h')
-rw-r--r-- | keyboards/soy20/config.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/keyboards/soy20/config.h b/keyboards/soy20/config.h new file mode 100644 index 000000000..932b129f8 --- /dev/null +++ b/keyboards/soy20/config.h | |||
@@ -0,0 +1,55 @@ | |||
1 | /* Soy20 PCB}} | ||
2 | Copyright (C) {{ 2020 }} {{ Drewkeys }} | ||
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 3 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 | #pragma once | ||
18 | |||
19 | #include "config_common.h" | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define VENDOR_ID 0x4452 // "DR" short for DrewKeys | ||
23 | #define PRODUCT_ID 0x534f // "SO" short for Soy | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER drewkeys | ||
26 | #define PRODUCT soy20 | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 5 | ||
30 | #define MATRIX_COLS 4 | ||
31 | |||
32 | /* key matrix pins */ | ||
33 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 } | ||
34 | #define MATRIX_COL_PINS { B5, B6, B7, C7 } | ||
35 | #define UNUSED_PINS | ||
36 | |||
37 | /* COL2ROW or ROW2COL */ | ||
38 | #define DIODE_DIRECTION COL2ROW | ||
39 | |||
40 | /* Set 0 if debouncing isn't needed */ | ||
41 | #define DEBOUNCE 5 | ||
42 | |||
43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
44 | #define LOCKING_SUPPORT_ENABLE | ||
45 | |||
46 | /* Locking resynchronize hack */ | ||
47 | #define LOCKING_RESYNC_ENABLE | ||
48 | |||
49 | #ifdef RGB_DI_PIN | ||
50 | #define RGBLIGHT_ANIMATIONS | ||
51 | #define RGBLED_NUM 0 | ||
52 | #define RGBLIGHT_HUE_STEP 8 | ||
53 | #define RGBLIGHT_SAT_STEP 8 | ||
54 | #define RGBLIGHT_VAL_STEP 8 | ||
55 | #endif | ||