From 2e0498080f79c0d79bfa4ae91405d6cf0c3d959b Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Wed, 22 May 2024 14:14:00 -0700 Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: K, Part 2 (#23769) Affects: - `keebio/bamfk4` - `keebio/bdn9/rev1` - `keebio/bdn9/rev2` - `keebio/bfo9000` - `keebio/bigswitchseat` - `keebio/choconum` - `keebio/dilly` - `keebio/dsp40/rev1` - `keebio/ergodicity` - `keebio/foldkb/rev1` - `keebio/fourier` - `keebio/iris/rev1` - `keebio/iris/rev1_led` - `keebio/iris/rev2` - `keebio/iris/rev3` - `keebio/iris/rev4` - `keebio/kbo5000/rev1` - `keebio/levinson/rev1` - `keebio/levinson/rev2` - `keebio/levinson/rev3` - `keebio/nyquist/rev1` - `keebio/nyquist/rev2` - `keebio/nyquist/rev3` - `keebio/quefrency/rev1` - `keebio/quefrency/rev4` - `keebio/quefrency/rev5` - `keebio/rorschach/rev1` - `keebio/sinc/rev1` - `keebio/sinc/rev2` - `keebio/tragicforce68` - `keebio/tukey` - `keebio/viterbi/rev1` - `keebio/viterbi/rev2` - `keebio/wavelet` - `keebio/wtf60` - `keebsforall/coarse60` - `keebsforall/freebirdnp/lite` - `keebsforall/freebirdnp/pro` - `keebsforall/freebirdtkl` - `keebwerk/nano_slider` - `keebzdotnet/fme` - `keebzdotnet/wazowski` - `keyboardio/atreus` - `keycapsss/kimiko/rev1` - `keycapsss/o4l_5x12` - `keygem/kg60ansi` - `keygem/kg65rgbv2` - `keyhive/absinthe` - `keyhive/ergosaurus` - `keyhive/lattice60` - `keyhive/maypad` - `keyhive/navi10/rev0` - `keyhive/navi10/rev2` - `keyhive/navi10/rev3` - `keyhive/opus` - `keyhive/southpole` - `keyhive/ut472` - `keyprez/bison` - `keyprez/corgi` - `keyprez/rhino` - `keyprez/unicorn` - `keysofkings/twokey` - `keystonecaps/gameroyadvance` --- keyboards/keyprez/bison/config.h | 39 --------------------------------- keyboards/keyprez/bison/keyboard.json | 6 +++++ keyboards/keyprez/corgi/config.h | 23 ------------------- keyboards/keyprez/corgi/keyboard.json | 6 +++++ keyboards/keyprez/rhino/config.h | 5 ----- keyboards/keyprez/rhino/keyboard.json | 6 +++++ keyboards/keyprez/unicorn/config.h | 5 ----- keyboards/keyprez/unicorn/keyboard.json | 6 +++++ 8 files changed, 24 insertions(+), 72 deletions(-) delete mode 100644 keyboards/keyprez/bison/config.h delete mode 100644 keyboards/keyprez/corgi/config.h (limited to 'keyboards/keyprez') diff --git a/keyboards/keyprez/bison/config.h b/keyboards/keyprez/bison/config.h deleted file mode 100644 index c4bb34279d..0000000000 --- a/keyboards/keyprez/bison/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2021 csandven - -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 - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/keyprez/bison/keyboard.json b/keyboards/keyprez/bison/keyboard.json index 462b9d4274..dd35c3c503 100644 --- a/keyboards/keyprez/bison/keyboard.json +++ b/keyboards/keyprez/bison/keyboard.json @@ -17,6 +17,12 @@ "mousekey": true, "nkro": false }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["D3", "E6", "B2", "B4", "D4", "F6", "F5", "F4"], "rows": ["D2", "F7", "B1", "B3", "D7"] diff --git a/keyboards/keyprez/corgi/config.h b/keyboards/keyprez/corgi/config.h deleted file mode 100644 index b04e4a036e..0000000000 --- a/keyboards/keyprez/corgi/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2021 Christian Sandven - -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/keyprez/corgi/keyboard.json b/keyboards/keyprez/corgi/keyboard.json index 07962899c4..8e664de03d 100644 --- a/keyboards/keyprez/corgi/keyboard.json +++ b/keyboards/keyprez/corgi/keyboard.json @@ -17,6 +17,12 @@ "mousekey": true, "nkro": false }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7", "C6", "D2", "B7"], "rows": ["F5", "F7", "B2", "B6", "F4", "F6", "B1", "B3"] diff --git a/keyboards/keyprez/rhino/config.h b/keyboards/keyprez/rhino/config.h index ce59f90c35..738dabf700 100644 --- a/keyboards/keyprez/rhino/config.h +++ b/keyboards/keyprez/rhino/config.h @@ -20,11 +20,6 @@ along with this program. If not, see . #define AUDIO_PIN C6 #define MUSIC_MAP -/* 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 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/keyprez/rhino/keyboard.json b/keyboards/keyprez/rhino/keyboard.json index 4f334e8fcf..75854f6f99 100644 --- a/keyboards/keyprez/rhino/keyboard.json +++ b/keyboards/keyprez/rhino/keyboard.json @@ -18,6 +18,12 @@ "mousekey": true, "nkro": false }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["D3", "D2", "D4", "D7", "E6", "B4", "B5"], "rows": ["B3", "B2", "B6", "B1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/keyprez/unicorn/config.h b/keyboards/keyprez/unicorn/config.h index 76a8890108..d01d3b80e9 100644 --- a/keyboards/keyprez/unicorn/config.h +++ b/keyboards/keyprez/unicorn/config.h @@ -5,11 +5,6 @@ #define MASTER_RIGHT -/* 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 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/keyprez/unicorn/keyboard.json b/keyboards/keyprez/unicorn/keyboard.json index 56061290ea..238560321d 100644 --- a/keyboards/keyprez/unicorn/keyboard.json +++ b/keyboards/keyprez/unicorn/keyboard.json @@ -17,6 +17,12 @@ "mousekey": true, "nkro": false }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["F5", "B2", "B5", "D7", "B4", "B6", "E6", "D4"], "rows": ["F4", "D3", "F6", "F7", "B1", "B3"] -- cgit v1.2.3