diff options
Diffstat (limited to 'keyboards/rainkeeb/config.h')
-rw-r--r-- | keyboards/rainkeeb/config.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/rainkeeb/config.h b/keyboards/rainkeeb/config.h new file mode 100644 index 000000000..36c3a5d5b --- /dev/null +++ b/keyboards/rainkeeb/config.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* Copyright 2020 Regan Palmer | ||
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 0x726B // rk - "rainkeebs" | ||
22 | #define PRODUCT_ID 0x726B // rk - "rainkeeb" | ||
23 | #define DEVICE_VER 0x0001 | ||
24 | #define MANUFACTURER rainkeebs | ||
25 | #define PRODUCT rainkeeb | ||
26 | |||
27 | /* key matrix size */ | ||
28 | #define MATRIX_ROWS 8 | ||
29 | #define MATRIX_COLS 6 | ||
30 | |||
31 | /* key matrix pins */ | ||
32 | #define MATRIX_ROW_PINS { D3, D2, D4, C6, D7, E6, B4, B5 } | ||
33 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 } | ||
34 | #define UNUSED_PINS | ||
35 | |||
36 | /* COL2ROW or ROW2COL */ | ||
37 | #define DIODE_DIRECTION COL2ROW | ||
38 | |||
39 | /* Set 0 if debouncing isn't needed */ | ||
40 | #define DEBOUNCE 5 | ||
41 | |||
42 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
43 | #define LOCKING_SUPPORT_ENABLE | ||
44 | |||
45 | /* Locking resynchronize hack */ | ||
46 | #define LOCKING_RESYNC_ENABLE | ||
47 | |||
48 | /* encoder pads */ | ||
49 | #define ENCODERS_PAD_A { B2 } | ||
50 | #define ENCODERS_PAD_B { B6 } | ||
51 | #define ENCODER_RESOLUTION 4 | ||