aboutsummaryrefslogtreecommitdiff
path: root/keyboards/edi/hardlight
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-14 18:28:15 +0100
committerGitHub <[email protected]>2024-04-14 18:28:15 +0100
commit22b3cf4e9102aa6d746f9ac2b5ee5b529e884010 (patch)
tree8b99c986ba754d9aa2b916b030e5959fe04b3b3a /keyboards/edi/hardlight
parente5e2b8a2620cc1c44916b9d024e7ac341f25448f (diff)
downloadqmk_firmware-22b3cf4e9102aa6d746f9ac2b5ee5b529e884010.tar.gz
qmk_firmware-22b3cf4e9102aa6d746f9ac2b5ee5b529e884010.zip
Migrate build target markers to keyboard.json - DE (#23515)
Diffstat (limited to 'keyboards/edi/hardlight')
-rw-r--r--keyboards/edi/hardlight/mk1/config.h28
-rw-r--r--keyboards/edi/hardlight/mk1/keyboard.json6
-rw-r--r--keyboards/edi/hardlight/mk2/config.h5
-rw-r--r--keyboards/edi/hardlight/mk2/keyboard.json (renamed from keyboards/edi/hardlight/mk2/info.json)6
4 files changed, 12 insertions, 33 deletions
diff --git a/keyboards/edi/hardlight/mk1/config.h b/keyboards/edi/hardlight/mk1/config.h
deleted file mode 100644
index 89b008296b..0000000000
--- a/keyboards/edi/hardlight/mk1/config.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-©2021 Everywhere Defense Industries / Fate Everywhere <[email protected]>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Enable Audio Subsystem with two voices
- */
-// #define AUDIO_PIN C6
diff --git a/keyboards/edi/hardlight/mk1/keyboard.json b/keyboards/edi/hardlight/mk1/keyboard.json
index 7f33c26227..3cb07cb2f1 100644
--- a/keyboards/edi/hardlight/mk1/keyboard.json
+++ b/keyboards/edi/hardlight/mk1/keyboard.json
@@ -16,6 +16,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B5"],
"rows": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4"]
diff --git a/keyboards/edi/hardlight/mk2/config.h b/keyboards/edi/hardlight/mk2/config.h
index 52636c6484..bd604db684 100644
--- a/keyboards/edi/hardlight/mk2/config.h
+++ b/keyboards/edi/hardlight/mk2/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 5
/* PWM RGB Underglow Defines */
diff --git a/keyboards/edi/hardlight/mk2/info.json b/keyboards/edi/hardlight/mk2/keyboard.json
index cb337b71c8..a1f47aabf5 100644
--- a/keyboards/edi/hardlight/mk2/info.json
+++ b/keyboards/edi/hardlight/mk2/keyboard.json
@@ -43,6 +43,12 @@
"velocikey": true,
"key_lock": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"community_layouts": ["ortho_4x16"],
"layouts": {
"LAYOUT_ortho_4x16": {