aboutsummaryrefslogtreecommitdiff
path: root/keyboards/polycarbdiet/s20
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-23 11:49:48 -0700
committerGitHub <[email protected]>2024-05-23 19:49:48 +0100
commitbfa05cc5e7a41c0291690516c2954aaefde7d9b9 (patch)
tree6fcacc6686c6933a53bd7dde2f2542c7fd859b0b /keyboards/polycarbdiet/s20
parentf37f27f02a55f750c21f671e712e3f704ba57885 (diff)
downloadqmk_firmware-bfa05cc5e7a41c0291690516c2954aaefde7d9b9.tar.gz
qmk_firmware-bfa05cc5e7a41c0291690516c2954aaefde7d9b9.zip
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`
Diffstat (limited to 'keyboards/polycarbdiet/s20')
-rw-r--r--keyboards/polycarbdiet/s20/config.h22
-rw-r--r--keyboards/polycarbdiet/s20/keyboard.json6
2 files changed, 6 insertions, 22 deletions
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) <[email protected]>
-
-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 <http://www.gnu.org/licenses/>.
-*/
-
-#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"]