diff options
Diffstat (limited to 'keyboards/arch_36/config.h')
-rw-r--r-- | keyboards/arch_36/config.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/keyboards/arch_36/config.h b/keyboards/arch_36/config.h new file mode 100644 index 000000000..be4a0a983 --- /dev/null +++ b/keyboards/arch_36/config.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | Copyright 2020 Obosob <[email protected]> | ||
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 | #include "config_common.h" | ||
20 | |||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0xFEED | ||
24 | #define PRODUCT_ID 0x9CE3 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER obosob | ||
27 | #define PRODUCT Arch-36 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | /* Rows are doubled up */ | ||
31 | #define MATRIX_ROWS 8 | ||
32 | #define MATRIX_COLS 5 | ||
33 | |||
34 | // wiring | ||
35 | #define MATRIX_ROW_PINS { D7, E6, B4, B5 } | ||
36 | #define MATRIX_COL_PINS { F7, B1, B3, B2, B6 } | ||
37 | #define UNUSED_PINS | ||
38 | |||
39 | /* COL2ROW, ROW2COL*/ | ||
40 | #define DIODE_DIRECTION COL2ROW | ||
41 | |||
42 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
43 | #define DEBOUNCE 5 | ||
44 | |||
45 | /* | ||
46 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
47 | */ | ||
48 | #define SOFT_SERIAL_PIN D2 | ||
49 | |||
50 | #ifdef RGBLIGHT_ENABLE | ||
51 | #define RGB_DI_PIN D3 | ||
52 | #define RGBLED_SPLIT { 6, 6 } | ||
53 | #define RGBLED_NUM 12 | ||
54 | #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, \ | ||
55 | 11, 10, 9, 8, 7, 6 } | ||
56 | #endif | ||
57 | |||
58 | #define OLED_DISPLAY_128X64 | ||
59 | |||
60 | #define EE_HANDS | ||