From 199f01cc5760055dfbdc89f426bf5a8f9b49bfb7 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Wed, 22 May 2024 13:49:15 -0700
Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: M, Part 1 (#23772)
Affects:
- `m10a`
- `machine_industries/m4_a`
- `magic_force/mf34`
- `majistic`
- `makenova/omega/omega4`
- `makrosu`
- `manta60`
- `maple_computing/christmas_tree/v2017`
- `maple_computing/ivy/rev1`
- `maple_computing/launchpad/rev1`
- `maple_computing/minidox/rev1`
- `maple_computing/the_ruler`
- `marksard/leftover30`
- `marksard/treadstone48/rev1`
- `marksard/treadstone48/rev2`
- `masterworks/classy_tkl/rev_a`
- `maxipad`
- `maxr1998/phoebe`
- `mc_76k`
- `mechkeys/acr60`
- `mechkeys/alu84`
- `mechkeys/espectro`
- `mechkeys/mechmini/v2`
- `mechkeys/mk60`
- `mechlovin/hannah910/rev1`
- `mechlovin/hannah910/rev2`
- `mechlovin/hannah910/rev3`
- `mechlovin/jay60`
- `mechlovin/tmkl`
- `mechwild/bde/lefty`
- `mechwild/bde/rev2`
- `mechwild/bde/righty`
- `mechwild/mercutio`
- `mechwild/mokulua/mirrored`
- `mechwild/mokulua/standard`
- `mechwild/murphpad`
- `mechwild/obe`
- `mechwild/puckbuddy`
- `meletrix/zoom98`
- `melgeek/mj6xy/rev3`
- `meme`
- `meow65`
- `mesa/mesa_tkl`
- `meson`
- `mikeneko65`
- `millipad`
- `mini_elixivy`
- `mini_ten_key_plus`
- `minimon/index_tab`
- `mint60`
- `misonoworks/karina`
- `miuni32`
- `mixi`
---
keyboards/mechlovin/hannah910/config.h | 39 ------------------------
keyboards/mechlovin/hannah910/rev1/keyboard.json | 6 ++++
keyboards/mechlovin/hannah910/rev2/keyboard.json | 6 ++++
keyboards/mechlovin/hannah910/rev3/keyboard.json | 6 ++++
keyboards/mechlovin/jay60/config.h | 39 ------------------------
keyboards/mechlovin/jay60/keyboard.json | 6 ++++
keyboards/mechlovin/tmkl/config.h | 21 -------------
keyboards/mechlovin/tmkl/keyboard.json | 6 ++++
8 files changed, 30 insertions(+), 99 deletions(-)
delete mode 100644 keyboards/mechlovin/hannah910/config.h
delete mode 100644 keyboards/mechlovin/jay60/config.h
delete mode 100644 keyboards/mechlovin/tmkl/config.h
(limited to 'keyboards/mechlovin')
diff --git a/keyboards/mechlovin/hannah910/config.h b/keyboards/mechlovin/hannah910/config.h
deleted file mode 100644
index a6ae7f4a10..0000000000
--- a/keyboards/mechlovin/hannah910/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Mechlovin
-
-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 2 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 .
-*/
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/mechlovin/hannah910/rev1/keyboard.json b/keyboards/mechlovin/hannah910/rev1/keyboard.json
index 8f01f6f39b..61cf365337 100644
--- a/keyboards/mechlovin/hannah910/rev1/keyboard.json
+++ b/keyboards/mechlovin/hannah910/rev1/keyboard.json
@@ -15,6 +15,12 @@
"backlight": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "B1", "B3", "F0", "F1", "F4", "F5", "F6", "F7", "D5", "D4", "B4", "D6", "D7", "B0"],
"rows": ["B5", "B6", "D3", "C6", "C7"]
diff --git a/keyboards/mechlovin/hannah910/rev2/keyboard.json b/keyboards/mechlovin/hannah910/rev2/keyboard.json
index c6fe19c34d..9fb5847124 100644
--- a/keyboards/mechlovin/hannah910/rev2/keyboard.json
+++ b/keyboards/mechlovin/hannah910/rev2/keyboard.json
@@ -15,6 +15,12 @@
"backlight": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "B1", "B3", "F0", "F1", "F4", "F5", "F6", "F7", "D5", "D4", "B4", "D6", "D7", "B0"],
"rows": ["B5", "B6", "D3", "C6", "C7"]
diff --git a/keyboards/mechlovin/hannah910/rev3/keyboard.json b/keyboards/mechlovin/hannah910/rev3/keyboard.json
index 8a6ea4d123..ba88319890 100644
--- a/keyboards/mechlovin/hannah910/rev3/keyboard.json
+++ b/keyboards/mechlovin/hannah910/rev3/keyboard.json
@@ -15,6 +15,12 @@
"backlight": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "B1", "B3", "F0", "F1", "F4", "F5", "F6", "F7", "D5", "D4", "B4", "D6", "D7", "B0"],
"rows": ["B5", "B6", "D3", "C6", "C7"]
diff --git a/keyboards/mechlovin/jay60/config.h b/keyboards/mechlovin/jay60/config.h
deleted file mode 100644
index d685b92631..0000000000
--- a/keyboards/mechlovin/jay60/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 Mechlovin'
-
-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 2 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 .
-*/
-
-#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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/mechlovin/jay60/keyboard.json b/keyboards/mechlovin/jay60/keyboard.json
index 37f25f36fe..c7e05d2327 100644
--- a/keyboards/mechlovin/jay60/keyboard.json
+++ b/keyboards/mechlovin/jay60/keyboard.json
@@ -13,6 +13,12 @@
"mousekey": true,
"extrakey": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B6", "B5", "B3", "B2", "B1", "B0", "A0", "A6", "A7", "C7", "C6", "C5", "C4", "C3"],
"rows": ["C2", "C1", "C0", "D7", "A1"]
diff --git a/keyboards/mechlovin/tmkl/config.h b/keyboards/mechlovin/tmkl/config.h
deleted file mode 100644
index 03e3beacd0..0000000000
--- a/keyboards/mechlovin/tmkl/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-Copyright 2020 Team Mechlovin'
-
-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 2 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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/mechlovin/tmkl/keyboard.json b/keyboards/mechlovin/tmkl/keyboard.json
index 8b66e9a466..783ca4b7c6 100644
--- a/keyboards/mechlovin/tmkl/keyboard.json
+++ b/keyboards/mechlovin/tmkl/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": false
+ }
+ },
"matrix_pins": {
"cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A0", "C15", "B4", "B5", "B3", "C13", "C14"],
"rows": ["A8", "A4", "A5", "A3", "A2", "A1"]
--
cgit v1.2.3