diff options
Diffstat (limited to 'keyboards/splitography/config.h')
-rw-r--r-- | keyboards/splitography/config.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/keyboards/splitography/config.h b/keyboards/splitography/config.h new file mode 100644 index 000000000..19afdec86 --- /dev/null +++ b/keyboards/splitography/config.h | |||
@@ -0,0 +1,55 @@ | |||
1 | /* Copyright 2021 Alexis Jeandeau | ||
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 | |||
17 | #pragma once | ||
18 | |||
19 | #include "config_common.h" | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define PRODUCT Splitography | ||
23 | |||
24 | /* Key matrix size */ | ||
25 | #define MATRIX_ROWS 4 | ||
26 | #define MATRIX_COLS 12 | ||
27 | |||
28 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
29 | #define DEBOUNCE 5 | ||
30 | |||
31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
32 | #define LOCKING_SUPPORT_ENABLE | ||
33 | /* Locking resynchronize hack */ | ||
34 | #define LOCKING_RESYNC_ENABLE | ||
35 | |||
36 | /* | ||
37 | * Force NKRO | ||
38 | * | ||
39 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
40 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
41 | * makefile for this to work.) | ||
42 | * | ||
43 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
44 | * until the next keyboard reset. | ||
45 | * | ||
46 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
47 | * fully operational during normal computer usage. | ||
48 | * | ||
49 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
50 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
51 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
52 | * power-up. | ||
53 | * | ||
54 | */ | ||
55 | //#define FORCE_NKRO | ||