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