From bfa05cc5e7a41c0291690516c2954aaefde7d9b9 Mon Sep 17 00:00:00 2001 From: James Young Date: Thu, 23 May 2024 11:49:48 -0700 Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: P, Part 1 (#23779) Affects: - `p3d/eu_isolation` - `p3d/glitch` - `p3d/q4z` - `p3d/synapse` - `p3d/tw40` - `panc40` - `papercranekeyboards/gerald65` - `parallel/parallel_65/hotswap` - `parallel/parallel_65/soldered` - `pdxkbc` - `pearlboards/atlas` - `pearlboards/pandora` - `pearlboards/pearl` - `pearlboards/zeus` - `pearlboards/zeuspad` - `pegasus` - `phantom` - `phoenix` - `picolab/frusta_fundamental` - `pimentoso/paddino02/rev1` - `pimentoso/paddino02/rev2/left` - `pimentoso/paddino02/rev2/right` - `pisces` - `pizzakeyboards/pizza65` - `pkb65` - `planck` - `playkbtw/ca66` - `playkbtw/pk60` - `playkbtw/pk64rgb` - `pluckey` - `plume/plume65` - `plywrks/ahgase` - `plywrks/lune` - `pohjolaworks/louhi` - `polycarbdiet/s20` - `pom_keyboards/tnln95` - `portal_66/hotswap` - `portal_66/soldered` - `pos78`--- keyboards/polycarbdiet/s20/config.h | 22 ---------------------- keyboards/polycarbdiet/s20/keyboard.json | 6 ++++++ 2 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 keyboards/polycarbdiet/s20/config.h (limited to 'keyboards/polycarbdiet') diff --git a/keyboards/polycarbdiet/s20/config.h b/keyboards/polycarbdiet/s20/config.h deleted file mode 100644 index fcff1b29cf..0000000000 --- a/keyboards/polycarbdiet/s20/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2020 Muhammad Galib (polycarbdiet) - -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/polycarbdiet/s20/keyboard.json b/keyboards/polycarbdiet/s20/keyboard.json index e734673ffc..f87429b4a7 100644 --- a/keyboards/polycarbdiet/s20/keyboard.json +++ b/keyboards/polycarbdiet/s20/keyboard.json @@ -19,6 +19,12 @@ "nkro": true, "rgblight": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["C6", "C7", "D4", "D6"], "rows": ["B7", "E6", "D0", "D1", "D5"] -- cgit v1.2.3