aboutsummaryrefslogtreecommitdiff
path: root/keyboards/boardsource/5x12/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/boardsource/5x12/config.h')
-rw-r--r--keyboards/boardsource/5x12/config.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/keyboards/boardsource/5x12/config.h b/keyboards/boardsource/5x12/config.h
new file mode 100644
index 000000000..455965a09
--- /dev/null
+++ b/keyboards/boardsource/5x12/config.h
@@ -0,0 +1,71 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0x4273 // "Bs" - Boardsource
7#define PRODUCT_ID 0x0512
8#define DEVICE_VER 0x0000
9#define MANUFACTURER Boardsource
10#define PRODUCT 5x12
11
12/* key matrix size */
13#define MATRIX_ROWS 5
14#define MATRIX_COLS 12
15#define MATRIX_ROW_PINS { D2, D3, D1, D0, D4 }
16#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B5, B4, E6, D7 }
17
18/* COL2ROW, ROW2COL*/
19#define DIODE_DIRECTION COL2ROW
20
21/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
22#define DEBOUNCE 5
23
24/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
25#define LOCKING_SUPPORT_ENABLE
26/* Locking resynchronize hack */
27#define LOCKING_RESYNC_ENABLE
28
29/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
30 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
31 */
32// #define GRAVE_ESC_CTRL_OVERRIDE
33
34/*
35 * Force NKRO
36 *
37 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
38 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
39 * makefile for this to work.)
40 *
41 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
42 * until the next keyboard reset.
43 *
44 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
45 * fully operational during normal computer usage.
46 *
47 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
48 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
49 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
50 * power-up.
51 *
52 */
53//#define FORCE_NKRO
54
55/*
56 * Feature disable options
57 * These options are also useful to firmware size reduction.
58 */
59
60/* disable debug print */
61//#define NO_DEBUG
62
63/* disable print */
64//#define NO_PRINT
65
66/* disable action features */
67//#define NO_ACTION_LAYER
68//#define NO_ACTION_TAPPING
69//#define NO_ACTION_ONESHOT
70//#define NO_ACTION_MACRO
71//#define NO_ACTION_FUNCTION