aboutsummaryrefslogtreecommitdiff
path: root/keyboards/boardsource/the_mark/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/boardsource/the_mark/config.h')
-rw-r--r--keyboards/boardsource/the_mark/config.h160
1 files changed, 160 insertions, 0 deletions
diff --git a/keyboards/boardsource/the_mark/config.h b/keyboards/boardsource/the_mark/config.h
new file mode 100644
index 000000000..cbfe4cd51
--- /dev/null
+++ b/keyboards/boardsource/the_mark/config.h
@@ -0,0 +1,160 @@
1/*
2Copyright 2020 Boardsource
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x4273 // "Bs" - Boardsource
24#define PRODUCT_ID 0x0001
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Boardsource
27#define PRODUCT The Mark65
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 16
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42 */
43
44#define MATRIX_ROW_PINS {B0, B1, B2, B3, B4}
45#define MATRIX_COL_PINS {B5, B6, B7, F5, C7, D0, D1, D2, D3, D4, D5, D6, D7,F0, F1, F4}
46#define UNUSED_PINS
47
48/* COL2ROW, ROW2COL */
49#define DIODE_DIRECTION COL2ROW
50#define RGBLIGHT_ANIMATIONS
51#define RGB_DI_PIN C6
52#ifdef RGBLIGHT_ENABLE
53#define RGBLED_NUM 24 // Number of LEDs
54#define RGBLIGHT_LIMIT_VAL 200
55#endif
56
57/* RGB matrix support */
58#ifdef RGB_MATRIX_ENABLE
59# define DRIVER_LED_TOTAL 24 // Number of LEDs
60# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
61# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
62#endif
63
64/*
65 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
66 */
67//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
68
69//#define BACKLIGHT_PIN B7
70//#define BACKLIGHT_LEVELS 3
71//#define BACKLIGHT_BREATHING
72
73//#define RGB_DI_PIN E2
74//#ifdef RGB_DI_PIN
75//# define RGBLED_NUM 16
76//# define RGBLIGHT_HUE_STEP 8
77//# define RGBLIGHT_SAT_STEP 8
78//# define RGBLIGHT_VAL_STEP 8
79//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
80//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
81/*== all animations enable ==*/
82//# define RGBLIGHT_ANIMATIONS
83/*== or choose animations ==*/
84//# define RGBLIGHT_EFFECT_BREATHING
85//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
86//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
87//# define RGBLIGHT_EFFECT_SNAKE
88//# define RGBLIGHT_EFFECT_KNIGHT
89//# define RGBLIGHT_EFFECT_CHRISTMAS
90//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
91//# define RGBLIGHT_EFFECT_RGB_TEST
92//# define RGBLIGHT_EFFECT_ALTERNATING
93/*== customize breathing effect ==*/
94/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
95//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
96/*==== use exp() and sin() ====*/
97//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
98//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
99//#endif
100
101/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
102#define DEBOUNCE 5
103
104/* define if matrix has ghost (lacks anti-ghosting diodes) */
105//#define MATRIX_HAS_GHOST
106
107/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
108#define LOCKING_SUPPORT_ENABLE
109/* Locking resynchronize hack */
110#define LOCKING_RESYNC_ENABLE
111
112/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
113 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
114 */
115//#define GRAVE_ESC_CTRL_OVERRIDE
116
117/*
118 * Force NKRO
119 *
120 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
121 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
122 * makefile for this to work.)
123 *
124 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
125 * until the next keyboard reset.
126 *
127 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
128 * fully operational during normal computer usage.
129 *
130 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
131 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
132 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
133 * power-up.
134 *
135 */
136//#define FORCE_NKRO
137
138/*
139 * Feature disable options
140 * These options are also useful to firmware size reduction.
141 */
142
143/* disable debug print */
144//#define NO_DEBUG
145
146/* disable print */
147//#define NO_PRINT
148
149/* disable action features */
150//#define NO_ACTION_LAYER
151//#define NO_ACTION_TAPPING
152//#define NO_ACTION_ONESHOT
153
154/* disable these deprecated features by default */
155#define NO_ACTION_MACRO
156#define NO_ACTION_FUNCTION
157
158/* Bootmagic Lite key configuration */
159//#define BOOTMAGIC_LITE_ROW 0
160//#define BOOTMAGIC_LITE_COLUMN 0