diff options
Diffstat (limited to 'keyboards/redox_media/config.h')
-rw-r--r-- | keyboards/redox_media/config.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/keyboards/redox_media/config.h b/keyboards/redox_media/config.h new file mode 100644 index 000000000..70fb2aa16 --- /dev/null +++ b/keyboards/redox_media/config.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | Copyright 2021 Shiftux <shiftux@gmail.com> | ||
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 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0xFEED | ||
24 | #define PRODUCT_ID 0x0000 | ||
25 | #define DEVICE_VER 0x0100 | ||
26 | #define MANUFACTURER shiftux | ||
27 | #define PRODUCT The Redox Keyboard | ||
28 | |||
29 | /* key matrix size */ | ||
30 | // Rows are doubled-up | ||
31 | #define MATRIX_ROWS 12 | ||
32 | #define MATRIX_COLS 7 | ||
33 | |||
34 | // wiring of each half | ||
35 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 } | ||
36 | #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6, D1 } | ||
37 | |||
38 | /* COL2ROW or ROW2COL */ | ||
39 | #define DIODE_DIRECTION COL2ROW | ||
40 | |||
41 | /* define if matrix has ghost */ | ||
42 | //#define MATRIX_HAS_GHOST | ||
43 | |||
44 | /* number of backlight levels */ | ||
45 | // #define BACKLIGHT_LEVELS 3 | ||
46 | |||
47 | /* Set 0 if debouncing isn't needed */ | ||
48 | #define DEBOUNCE 5 | ||
49 | |||
50 | /* serial.c configuration for split keyboard */ | ||
51 | #define SOFT_SERIAL_PIN D0 | ||
52 | |||
53 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
54 | #define LOCKING_SUPPORT_ENABLE | ||
55 | /* Locking resynchronize hack */ | ||
56 | #define LOCKING_RESYNC_ENABLE | ||
57 | |||
58 | #define ENCODERS_PAD_A { F4 } | ||
59 | #define ENCODERS_PAD_B { F5 } | ||
60 | #define ENCODER_RESOLUTION 4 \ No newline at end of file | ||