diff options
Diffstat (limited to 'keyboards/kikkou/config.h')
-rw-r--r-- | keyboards/kikkou/config.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/kikkou/config.h b/keyboards/kikkou/config.h new file mode 100644 index 000000000..deedfd838 --- /dev/null +++ b/keyboards/kikkou/config.h | |||
@@ -0,0 +1,58 @@ | |||
1 | /* | ||
2 | Copyright 2021 Matthew Dias | ||
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 | |||
23 | /* USB Device descriptor parameter */ | ||
24 | #define VENDOR_ID 0x6D65 | ||
25 | #define PRODUCT_ID 0x6060 | ||
26 | #define DEVICE_VER 0x0001 | ||
27 | #define MANUFACTURER Mechwerkes | ||
28 | #define PRODUCT Kikkou | ||
29 | |||
30 | /* key matrix size */ | ||
31 | #define MATRIX_ROWS 5 | ||
32 | #define MATRIX_COLS 15 | ||
33 | |||
34 | /* key matrix pins */ | ||
35 | #define MATRIX_ROW_PINS { F0, F1, F4, F5, E6 } | ||
36 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6 } | ||
37 | #define UNUSED_PINS | ||
38 | |||
39 | /* COL2ROW or ROW2COL */ | ||
40 | #define DIODE_DIRECTION COL2ROW | ||
41 | |||
42 | /* Set 0 if debouncing isn't needed */ | ||
43 | #define DEBOUNCE 5 | ||
44 | |||
45 | /* | ||
46 | * Feature disable options | ||
47 | * These options are also useful to firmware size reduction. | ||
48 | */ | ||
49 | |||
50 | /* disable debug print */ | ||
51 | //#define NO_DEBUG | ||
52 | |||
53 | /* disable print */ | ||
54 | //#define NO_PRINT | ||
55 | |||
56 | /* disable these deprecated features by default */ | ||
57 | #define NO_ACTION_MACRO | ||
58 | #define NO_ACTION_FUNCTION | ||