aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wekey
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-05-23 11:55:38 -0700
committerGitHub <[email protected]>2024-05-23 19:55:38 +0100
commit013b51a90428342f26d4f0909120c1ae7c2135f8 (patch)
treea4bbefa7f77c03d8acc383df353e299719903600 /keyboards/wekey
parentc4e182b98e0b072dd97133b71b01f59f0eb07501 (diff)
downloadqmk_firmware-013b51a90428342f26d4f0909120c1ae7c2135f8.tar.gz
qmk_firmware-013b51a90428342f26d4f0909120c1ae7c2135f8.zip
Migrate `LOCKING_*_ENABLE` to Data-Driven: W, Part 1 (#23788)
Affects: - `waldo` - `walletburner/cajal` - `walletburner/neuron` - `wavtype/foundation` - `wavtype/p01_ultra` - `weirdo/geminate60` - `weirdo/kelowna/rgb64` - `weirdo/ls_60` - `weirdo/naiping/np64` - `weirdo/naiping/nphhkb` - `weirdo/naiping/npminila` - `weirdo/tiger910` - `wekey/polaris` - `westfoxtrot/aanzee` - `westfoxtrot/cyclops` - `westfoxtrot/cypher/rev1` - `westfoxtrot/cypher/rev5` - `westfoxtrot/prophet` - `westm/westm9` - `westm/westm68`
Diffstat (limited to 'keyboards/wekey')
-rw-r--r--keyboards/wekey/polaris/config.h39
-rw-r--r--keyboards/wekey/polaris/keyboard.json6
2 files changed, 6 insertions, 39 deletions
diff --git a/keyboards/wekey/polaris/config.h b/keyboards/wekey/polaris/config.h
deleted file mode 100644
index c86ead57bd..0000000000
--- a/keyboards/wekey/polaris/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 @wekey
-
-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
-
-/*
- * 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/wekey/polaris/keyboard.json b/keyboards/wekey/polaris/keyboard.json
index 356e3f951e..29d79b6a0b 100644
--- a/keyboards/wekey/polaris/keyboard.json
+++ b/keyboards/wekey/polaris/keyboard.json
@@ -19,6 +19,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "B4", "B5", "B6", "D0", "D1", "D2", "D3"],
"rows": ["F4", "F1", "F0", "B7", "F7", "D5", "C6", "C7", "F5", "F6"]