aboutsummaryrefslogtreecommitdiff
path: root/keyboards/boardsource/4x12/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/boardsource/4x12/config.h')
-rw-r--r--keyboards/boardsource/4x12/config.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/keyboards/boardsource/4x12/config.h b/keyboards/boardsource/4x12/config.h
new file mode 100644
index 000000000..967bb1c9f
--- /dev/null
+++ b/keyboards/boardsource/4x12/config.h
@@ -0,0 +1,70 @@
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 0x0412
8#define DEVICE_VER 0x0000
9#define MANUFACTURER Boardsource
10#define PRODUCT 4x12
11
12/* key matrix size */
13#define MATRIX_ROWS 4
14#define MATRIX_COLS 12
15#define MATRIX_ROW_PINS { D2, D3, D1, D0}
16#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B5, B4, E6, D7 }
17
18#define DIODE_DIRECTION COL2ROW
19
20/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
21#define DEBOUNCE 5
22
23/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
24#define LOCKING_SUPPORT_ENABLE
25/* Locking resynchronize hack */
26#define LOCKING_RESYNC_ENABLE
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
53
54/*
55 * Feature disable options
56 * These options are also useful to firmware size reduction.
57 */
58
59/* disable debug print */
60//#define NO_DEBUG
61
62/* disable print */
63//#define NO_PRINT
64
65/* disable action features */
66//#define NO_ACTION_LAYER
67//#define NO_ACTION_TAPPING
68//#define NO_ACTION_ONESHOT
69//#define NO_ACTION_MACRO
70//#define NO_ACTION_FUNCTION