From efe0d96845306a7083dd191dce7c2714c2a406ab Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Wed, 22 May 2024 12:41:29 -0700
Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: N (#23774)
Affects:
- `nacly/sodium42`
- `nacly/sodium50`
- `nacly/sodium62`
- `nacly/splitreus62`
- `nacly/ua62`
- `nek_type_a`
- `nemui`
- `nibiria/stream15`
- `nightingale_studios/hailey`
- `nightly_boards/adellein`
- `nightly_boards/alter/rev1`
- `nightly_boards/alter_lite`
- `nightly_boards/conde60`
- `nightly_boards/daily60`
- `nightly_boards/jisoo`
- `nightly_boards/n2`
- `nightly_boards/n40_o`
- `nightly_boards/n60_s`
- `nightly_boards/n87`
- `nightly_boards/n9`
- `nightly_boards/octopad`
- `nightly_boards/octopadplus`
- `nightly_boards/paraluman`
- `nightly_boards/ph_arisu`
- `nightmare`
- `nimrod`
- `nix_studio/oxalys80`
- `nopunin10did/jabberwocky/v1`
- `nopunin10did/jabberwocky/v2`
- `nopunin10did/railroad/rev0`
- `novelkeys/novelpad`
- `noxary/220`
- `noxary/260`
- `noxary/268`
- `noxary/268_2`
- `noxary/268_2_rgb`
- `noxary/280`
- `noxary/378`
- `noxary/valhalla`
- `noxary/vulcan`
- `noxary/x268`
- `numatreus`
---
keyboards/nopunin10did/jabberwocky/v1/config.h | 23 ----------------------
.../nopunin10did/jabberwocky/v1/keyboard.json | 6 ++++++
keyboards/nopunin10did/jabberwocky/v2/config.h | 23 ----------------------
.../nopunin10did/jabberwocky/v2/keyboard.json | 6 ++++++
4 files changed, 12 insertions(+), 46 deletions(-)
delete mode 100644 keyboards/nopunin10did/jabberwocky/v1/config.h
delete mode 100644 keyboards/nopunin10did/jabberwocky/v2/config.h
(limited to 'keyboards/nopunin10did/jabberwocky')
diff --git a/keyboards/nopunin10did/jabberwocky/v1/config.h b/keyboards/nopunin10did/jabberwocky/v1/config.h
deleted file mode 100644
index ae6256b351..0000000000
--- a/keyboards/nopunin10did/jabberwocky/v1/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.com)
- *
- * 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
diff --git a/keyboards/nopunin10did/jabberwocky/v1/keyboard.json b/keyboards/nopunin10did/jabberwocky/v1/keyboard.json
index b82a9642c7..6c8b71460e 100644
--- a/keyboards/nopunin10did/jabberwocky/v1/keyboard.json
+++ b/keyboards/nopunin10did/jabberwocky/v1/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "D7", "C6", "D4", "D0", "D2", "D3"],
"rows": ["E6", "B4", "B5", "B7", "D5", "C7", "F1", "F0", "B1", "B3", "B2", "B6"]
diff --git a/keyboards/nopunin10did/jabberwocky/v2/config.h b/keyboards/nopunin10did/jabberwocky/v2/config.h
deleted file mode 100644
index b00b2242dc..0000000000
--- a/keyboards/nopunin10did/jabberwocky/v2/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2022 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.com)
- *
- * 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
diff --git a/keyboards/nopunin10did/jabberwocky/v2/keyboard.json b/keyboards/nopunin10did/jabberwocky/v2/keyboard.json
index 549daef971..177f5235f4 100644
--- a/keyboards/nopunin10did/jabberwocky/v2/keyboard.json
+++ b/keyboards/nopunin10did/jabberwocky/v2/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D2", "D3", "D5", "B5", "D7", "F6", "F7", "C7", "B6"],
"rows": ["B2", "B3", "B1", "D4", "B4", "D1", "E6", "B0", "F0", "F1", "F4", "F5"]
--
cgit v1.2.3