From 84134115711f5165bffc862e6386346b29099c18 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 23 May 2024 12:38:43 -0700 Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: S, Part 1 (#23783) Affects: - `salicylic_acid3/7skb/rev1` - `salicylic_acid3/7splus` - `salicylic_acid3/ajisai74` - `salicylic_acid3/ergoarrows` - `salicylic_acid3/getta25/rev1` - `salicylic_acid3/jisplit89/rev1` - `salicylic_acid3/nafuda` - `salicylic_acid3/naked48/rev1` - `salicylic_acid3/naked60/rev1` - `salicylic_acid3/naked64/rev1` - `salicylic_acid3/nknl7en` - `salicylic_acid3/nknl7jp` - `salicylic_acid3/setta21/rev1` - `sandwich/keeb68` - `satt/vision` - `sauce/mild` - `scatter42` - `sck/gtm` - `sck/m0116b` - `sck/neiso` - `sekigon/grs_70ec` - `sendyyeah/pix` - `senselessclay/ck65` - `senselessclay/gos65` - `senselessclay/had60` - `sentraq/s60_x/default` - `sentraq/s60_x/rgb` - `sentraq/s65_plus` - `sentraq/s65_x` - `sets3n/kk980` - `shambles` - `shandoncodes/flygone60/rev3` - `shandoncodes/mino/hotswap` - `shapeshifter4060` - `shiro` - `shk9` - `sidderskb/majbritt/rev2` - `sixkeyboard` - `skeletonkbd/skeletonnumpad` - `skme/zeno` --- keyboards/shandoncodes/flygone60/rev3/config.h | 23 ---------------------- .../shandoncodes/flygone60/rev3/keyboard.json | 6 ++++++ keyboards/shandoncodes/mino/hotswap/config.h | 23 ---------------------- keyboards/shandoncodes/mino/hotswap/keyboard.json | 6 ++++++ 4 files changed, 12 insertions(+), 46 deletions(-) delete mode 100644 keyboards/shandoncodes/flygone60/rev3/config.h delete mode 100644 keyboards/shandoncodes/mino/hotswap/config.h (limited to 'keyboards/shandoncodes') diff --git a/keyboards/shandoncodes/flygone60/rev3/config.h b/keyboards/shandoncodes/flygone60/rev3/config.h deleted file mode 100644 index 339cf3c782..0000000000 --- a/keyboards/shandoncodes/flygone60/rev3/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 ShandonCodes - -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/shandoncodes/flygone60/rev3/keyboard.json b/keyboards/shandoncodes/flygone60/rev3/keyboard.json index 70a57528f1..6e2e62701f 100644 --- a/keyboards/shandoncodes/flygone60/rev3/keyboard.json +++ b/keyboards/shandoncodes/flygone60/rev3/keyboard.json @@ -16,6 +16,12 @@ "mousekey": true, "nkro": false }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["F0", "E6", "B1", "B2", "B3", "B0", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["D2", "D3", "D5", "B7", "F1"] diff --git a/keyboards/shandoncodes/mino/hotswap/config.h b/keyboards/shandoncodes/mino/hotswap/config.h deleted file mode 100644 index 45fec5af48..0000000000 --- a/keyboards/shandoncodes/mino/hotswap/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2022 ShandonCodes - -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/shandoncodes/mino/hotswap/keyboard.json b/keyboards/shandoncodes/mino/hotswap/keyboard.json index 56bca83a92..5bd0b933ce 100644 --- a/keyboards/shandoncodes/mino/hotswap/keyboard.json +++ b/keyboards/shandoncodes/mino/hotswap/keyboard.json @@ -18,6 +18,12 @@ "oled": true, "wpm": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "B5", "B4", "E6", "D7"], "rows": ["D3", "C6", "D4", "D2"] -- cgit v1.2.3