From 495e83b30f86a2ce4511f84f2e9cefb8e7f99136 Mon Sep 17 00:00:00 2001 From: James Young Date: Wed, 22 May 2024 03:13:39 -0700 Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: M, Part 2 (#23773) Affects: - `mkh_studio/bully` - `mlego/m48/rev1` - `mlego/m60/rev1` - `mlego/m60_split/rev1` - `mlego/m60_split/rev2` - `mntre` - `mode/m65ha_alpha` - `mode/m65hi_alpha` - `mode/m65s` - `mode/m80v1/m80h` - `mode/m80v1/m80s` - `mode/m80v2/m80v2h` - `mode/m80v2/m80v2s` - `molecule` - `momoka_ergo` - `monarch` - `monsgeek/m1` - `monsgeek/m3` - `monsgeek/m5` - `monsgeek/m6` - `monstargear/xo87/rgb` - `monstargear/xo87/solderable` - `montsinger/rebound/rev1` - `montsinger/rebound/rev2` - `montsinger/rebound/rev3` - `montsinger/rebound/rev4` - `montsinger/rewind` - `moon` - `morizon` - `mountainblocks/mb17` - `mt/blocked65` - `mt/mt64rgb` - `mt/mt980` - `mtbkeys/mtb60/hotswap` - `mtbkeys/mtb60/solder` - `murcielago/rev1` - `mxss` - `mysticworks/wyvern`--- keyboards/mt/blocked65/config.h | 23 ----------------------- keyboards/mt/blocked65/keyboard.json | 6 ++++++ keyboards/mt/mt64rgb/config.h | 5 ----- keyboards/mt/mt64rgb/keyboard.json | 6 ++++++ keyboards/mt/mt980/config.h | 7 ------- keyboards/mt/mt980/keyboard.json | 6 ++++++ 6 files changed, 18 insertions(+), 35 deletions(-) delete mode 100644 keyboards/mt/blocked65/config.h delete mode 100644 keyboards/mt/mt980/config.h (limited to 'keyboards/mt') diff --git a/keyboards/mt/blocked65/config.h b/keyboards/mt/blocked65/config.h deleted file mode 100644 index 28be4f1a5b..0000000000 --- a/keyboards/mt/blocked65/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2019 Evy Dekkers - -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/mt/blocked65/keyboard.json b/keyboards/mt/blocked65/keyboard.json index 14e5942228..9a0ce52043 100644 --- a/keyboards/mt/blocked65/keyboard.json +++ b/keyboards/mt/blocked65/keyboard.json @@ -35,6 +35,12 @@ "nkro": false, "rgblight": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/mt/mt64rgb/config.h b/keyboards/mt/mt64rgb/config.h index 50c9ca5f64..f69c778b8b 100644 --- a/keyboards/mt/mt64rgb/config.h +++ b/keyboards/mt/mt64rgb/config.h @@ -18,8 +18,3 @@ #define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND #define RGB_MATRIX_LED_COUNT 64 - -/* 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/mt/mt64rgb/keyboard.json b/keyboards/mt/mt64rgb/keyboard.json index 5dbcf30969..0858e85eca 100644 --- a/keyboards/mt/mt64rgb/keyboard.json +++ b/keyboards/mt/mt64rgb/keyboard.json @@ -77,6 +77,12 @@ "rgblight": true, "rgb_matrix": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7"], "rows": ["D7", "D6", "D5", "D3", "D2"] diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h deleted file mode 100644 index 5f36081323..0000000000 --- a/keyboards/mt/mt980/config.h +++ /dev/null @@ -1,7 +0,0 @@ -#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/mt/mt980/keyboard.json b/keyboards/mt/mt980/keyboard.json index 6ecc9f8610..2fa17224cb 100644 --- a/keyboards/mt/mt980/keyboard.json +++ b/keyboards/mt/mt980/keyboard.json @@ -18,6 +18,12 @@ "nkro": true, "rgblight": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"] -- cgit v1.2.3