diff options
Diffstat (limited to 'keyboards/basekeys/slice/rev1/config.h')
-rw-r--r-- | keyboards/basekeys/slice/rev1/config.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/keyboards/basekeys/slice/rev1/config.h b/keyboards/basekeys/slice/rev1/config.h new file mode 100644 index 000000000..08c929b7b --- /dev/null +++ b/keyboards/basekeys/slice/rev1/config.h | |||
@@ -0,0 +1,50 @@ | |||
1 | /* | ||
2 | Copyright 2020 2Moons | ||
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 | /* USB Device descriptor parameter */ | ||
21 | #define VENDOR_ID 0x04D8 | ||
22 | #define PRODUCT_ID 0xEC17 | ||
23 | #define DEVICE_VER 0x0002 | ||
24 | #define MANUFACTURER 2Moons | ||
25 | #define PRODUCT Slice | ||
26 | |||
27 | /* key matrix size */ | ||
28 | #define MATRIX_ROWS 10 | ||
29 | #define MATRIX_COLS 9 | ||
30 | |||
31 | // wiring of each half | ||
32 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
33 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B5 } | ||
34 | |||
35 | #define DIODE_DIRECTION COL2ROW | ||
36 | |||
37 | /* Set 0 if debouncing isn't needed */ | ||
38 | #define DEBOUNCE 5 | ||
39 | /* serial.c configuration for split keyboard */ | ||
40 | #define SOFT_SERIAL_PIN D2 | ||
41 | |||
42 | /* Select hand configuration */ | ||
43 | //#define EE_HANDS | ||
44 | #define MASTER_LEFT | ||
45 | //#define MASTER_RIGHT | ||
46 | |||
47 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
48 | #define LOCKING_SUPPORT_ENABLE | ||
49 | /* Locking resynchronize hack */ | ||
50 | #define LOCKING_RESYNC_ENABLE | ||