From 03f0d683420a1efa9709f61dd778e764300d86ea Mon Sep 17 00:00:00 2001 From: James Young Date: Mon, 20 May 2024 12:34:57 -0700 Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: D, Part 2 (#23750) Affects: - `do60` - `doio/kb30` - `donutcables/scrabblepad` - `doppelganger` - `doro67/rgb` - `dotmod/dymium65` - `draytronics/daisy` - `draytronics/elise` - `draytronics/elise_v2` - `drewkeys/iskar` - `drhigsby/bkf` - `drhigsby/dubba175` - `drhigsby/ogurec` - `drhigsby/packrat` - `dtisaac/cg108` - `dumbo` - `dz60` - `dztech/bocc` - `dztech/duo_s`--- keyboards/do60/config.h | 23 ----------------------- keyboards/do60/keyboard.json | 6 ++++++ 2 files changed, 6 insertions(+), 23 deletions(-) delete mode 100644 keyboards/do60/config.h (limited to 'keyboards/do60') diff --git a/keyboards/do60/config.h b/keyboards/do60/config.h deleted file mode 100644 index 5a870e5f7e..0000000000 --- a/keyboards/do60/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2012 Doyu Studio - -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/do60/keyboard.json b/keyboards/do60/keyboard.json index 76de66f6d7..2a7d585f65 100644 --- a/keyboards/do60/keyboard.json +++ b/keyboards/do60/keyboard.json @@ -18,6 +18,12 @@ "nkro": true, "rgblight": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "F4", "B4", "D7", "D6", "B3", "B0"], "rows": ["D0", "D1", "D2", "D3", "D5"] -- cgit v1.2.3