diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/coarse/vinta/config.h |
Diffstat (limited to 'keyboards/coarse/vinta/config.h')
-rw-r--r-- | keyboards/coarse/vinta/config.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/coarse/vinta/config.h b/keyboards/coarse/vinta/config.h new file mode 100644 index 000000000..d08994ae6 --- /dev/null +++ b/keyboards/coarse/vinta/config.h | |||
@@ -0,0 +1,52 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "config_common.h" | ||
4 | |||
5 | /* USB Device descriptor parameter */ | ||
6 | #define VENDOR_ID 0xFEED | ||
7 | #define PRODUCT_ID 0x0C61 | ||
8 | #define DEVICE_VER 0x00C6 | ||
9 | #define MANUFACTURER PeiorisBoards | ||
10 | #define PRODUCT Vinta R1 | ||
11 | |||
12 | /* key matrix size */ | ||
13 | #define MATRIX_ROWS 5 | ||
14 | #define MATRIX_COLS 16 | ||
15 | |||
16 | #define MATRIX_ROW_PINS { A10, A9, B0, A7, A6 } | ||
17 | #define MATRIX_COL_PINS { A5, A4, A3, A2, A1, A0, F1, F0, B7, B6, B5, B4, B3, A15, A14, A13 } | ||
18 | |||
19 | /* COL2ROW, ROW2COL*/ | ||
20 | #define DIODE_DIRECTION COL2ROW | ||
21 | |||
22 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
23 | #define DEBOUNCE 0 | ||
24 | |||
25 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
26 | //#define MATRIX_HAS_GHOST | ||
27 | |||
28 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
29 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
30 | */ | ||
31 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
32 | |||
33 | /* | ||
34 | * Force NKRO | ||
35 | * | ||
36 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
37 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
38 | * makefile for this to work.) | ||
39 | * | ||
40 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
41 | * until the next keyboard reset. | ||
42 | * | ||
43 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
44 | * fully operational during normal computer usage. | ||
45 | * | ||
46 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
47 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
48 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
49 | * power-up. | ||
50 | * | ||
51 | */ | ||
52 | //#define FORCE_NKRO | ||