From 8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 Mon Sep 17 00:00:00 2001 From: James Young Date: Thu, 23 May 2024 19:14:15 -0700 Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: X-Z (#23790) Affects: - `x16` - `xelus/akis` - `xelus/dharma` - `xelus/kangaroo/rev1` - `xelus/kangaroo/rev2` - `xelus/ninjin` - `xelus/pachi/mini_32u4` - `xelus/pachi/rev1` - `xelus/snap96` - `xelus/xs108` - `xiudi/xd60/rev2` - `xiudi/xd60/rev3` - `xiudi/xd68` - `xiudi/xd75` - `xiudi/xd84pro` - `xiudi/xd87` - `xmmx` - `ydkb/chili` - `ydkb/grape` - `ydkb/just60` - `yiancardesigns/barleycorn` - `yiancardesigns/gingham` - `yiancardesigns/seigaiha` - `ymdk/melody96/soldered` - `ymdk/np21` - `ymdk/yd60mq` - `ymdk/ymd09` - `ymdk/ymd67` - `yoichiro/lunakey_mini` - `yushakobo/quick7` - `yynmt/acperience12/rev1` - `yynmt/dozen0` - `yynmt/kagamidget` - `zigotica/z12` - `zigotica/z34` - `zj68` - `zlant` - `zoo/wampus` - `zsa/moonlander` - `ztboards/after` - `ztboards/noon`--- keyboards/zigotica/z12/config.h | 22 ---------------------- keyboards/zigotica/z12/keyboard.json | 6 ++++++ keyboards/zigotica/z34/config.h | 5 ----- keyboards/zigotica/z34/keyboard.json | 6 ++++++ 4 files changed, 12 insertions(+), 27 deletions(-) delete mode 100644 keyboards/zigotica/z12/config.h (limited to 'keyboards/zigotica') diff --git a/keyboards/zigotica/z12/config.h b/keyboards/zigotica/z12/config.h deleted file mode 100644 index fef7fb59bd..0000000000 --- a/keyboards/zigotica/z12/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2020 Sergi Meseguer - -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/zigotica/z12/keyboard.json b/keyboards/zigotica/z12/keyboard.json index d9791d9c5e..2d3e92d6e2 100644 --- a/keyboards/zigotica/z12/keyboard.json +++ b/keyboards/zigotica/z12/keyboard.json @@ -29,6 +29,12 @@ "nkro": false, "oled": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "direct": [ [null, "E6", "C6", null], diff --git a/keyboards/zigotica/z34/config.h b/keyboards/zigotica/z34/config.h index d2ec68cc39..10c442f206 100644 --- a/keyboards/zigotica/z34/config.h +++ b/keyboards/zigotica/z34/config.h @@ -16,11 +16,6 @@ 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 - // EE_HANDS MASTER_RIGHT MASTER_LEFT #define MASTER_RIGHT diff --git a/keyboards/zigotica/z34/keyboard.json b/keyboards/zigotica/z34/keyboard.json index 5faa9b23b2..c08934360e 100644 --- a/keyboards/zigotica/z34/keyboard.json +++ b/keyboards/zigotica/z34/keyboard.json @@ -14,6 +14,12 @@ "features": { "extrakey": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { -- cgit v1.2.3