aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ortho5by12
diff options
context:
space:
mode:
authorJames Young2024-05-23 20:49:30 +0200
committerGitHub2024-05-23 20:49:30 +0200
commitf37f27f02a55f750c21f671e712e3f704ba57885 (patch)
treeb09ead193112d75b9ad55634ae0fc70bb854b4b1 /keyboards/ortho5by12
parent912124f71cfcd9276fec13b27dea0029e49b1483 (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: O (#23778)
Affects: - `oddball` - `oddforge/vea` - `ok60` - `om60` - `omkbd/ergodash/mini` - `omkbd/ergodash/rev1` - `omkbd/runner3680/3x6` - `omkbd/runner3680/3x7` - `omkbd/runner3680/3x8` - `omkbd/runner3680/4x6` - `omkbd/runner3680/4x7` - `omkbd/runner3680/4x8` - `omkbd/runner3680/5x6` - `omkbd/runner3680/5x6_5x8` - `omkbd/runner3680/5x7` - `omkbd/runner3680/5x8` - `omnikeyish` - `orange75` - `org60` - `ortho5by12` - `orthocode`
Diffstat (limited to 'keyboards/ortho5by12')
-rw-r--r--keyboards/ortho5by12/config.h20
-rw-r--r--keyboards/ortho5by12/keyboard.json6
2 files changed, 6 insertions, 20 deletions
diff --git a/keyboards/ortho5by12/config.h b/keyboards/ortho5by12/config.h
deleted file mode 100644
index 2e97980987..0000000000
--- a/keyboards/ortho5by12/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Copyright 2019 Takuya Urakawa (dm9records.com)
-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/ortho5by12/keyboard.json b/keyboards/ortho5by12/keyboard.json
index c45788ba2f..49ce494417 100644
--- a/keyboards/ortho5by12/keyboard.json
+++ b/keyboards/ortho5by12/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["C2", "D0", "D1", "D4", "C3", "C1"],
"rows": ["B5", "B1", "B2", "B3", "B4", "C0", "D5", "D6", "D7", "B0"]