aboutsummaryrefslogtreecommitdiff
path: root/keyboards/edi/hardlight/mk1/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/edi/hardlight/mk1/config.h')
-rw-r--r--keyboards/edi/hardlight/mk1/config.h109
1 files changed, 109 insertions, 0 deletions
diff --git a/keyboards/edi/hardlight/mk1/config.h b/keyboards/edi/hardlight/mk1/config.h
new file mode 100644
index 000000000..be136fe9c
--- /dev/null
+++ b/keyboards/edi/hardlight/mk1/config.h
@@ -0,0 +1,109 @@
1/*
2©2021 Everywhere Defense Industries / Fate Everywhere <fate@7storm.org>
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 3 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 0xF7E0
24#define PRODUCT_ID 0x2401
25#define DEVICE_VER 0x0000
26#define MANUFACTURER Everywhere Defense Industries
27#define PRODUCT Hard Light
28
29/* key matrix size */
30#define MATRIX_ROWS 8
31#define MATRIX_COLS 8
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#define MATRIX_ROW_PINS { B0, B1, B2, B3, D4, D6, D7, B4 }
44#define MATRIX_COL_PINS { E6, F0, F1, F4, F5, F6, F7, B5 }
45#define UNUSED_PINS { B7, D2, D3, D5 }
46
47
48/* COL2ROW, ROW2COL */
49#define DIODE_DIRECTION COL2ROW
50
51// #define BACKLIGHT_PIN C7
52// #define BACKLIGHT_BREATHING
53// #define BACKLIGHT_LEVELS 3
54
55
56/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
57#define DEBOUNCE 5
58
59/* define if matrix has ghost (lacks anti-ghosting diodes) */
60//#define MATRIX_HAS_GHOST
61
62/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
63#define LOCKING_SUPPORT_ENABLE
64/* Locking resynchronize hack */
65#define LOCKING_RESYNC_ENABLE
66
67/*
68 * Enable RGB Underlighting
69 */
70#define RGB_DI_PIN C7
71#define RGBLED_NUM 15
72#define RGBLIGHT_ANIMATIONS
73//#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
74//#define RGBLIGHT_EFFECT_KNIGHT
75//#define RGBLIGHT_EFFECT_TWINKLE
76//#define RGBLIGHT_EFFECT_BREATHING
77
78
79/*
80 * Enable Audio Subsystem with two voices
81 */
82// #define AUDIO_PIN C6
83
84
85/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
86 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
87 */
88// #define GRAVE_ESC_CTRL_OVERRIDE
89
90/*
91 * Force NKRO
92 *
93 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
94 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
95 * makefile for this to work.)
96 *
97 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
98 * until the next keyboard reset.
99 *
100 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
101 * fully operational during normal computer usage.
102 *
103 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
104 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
105 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
106 * power-up.
107 *
108 */
109//#define FORCE_NKRO