aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ibm
diff options
context:
space:
mode:
authorJames Young2024-05-22 20:06:09 +0200
committerGitHub2024-05-22 20:06:09 +0200
commit16d2db5048acedfc9dd5f8e85ca19e50f139ba13 (patch)
treee70bef76706fc0fea230bc62d821a3e3bb8d46f9 /keyboards/ibm
parent071434c04f77c3c277199982b3c4b5ffcd97618c (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: I-J (#23767)
Affects: - `ianklug/grooveboard` - `ibm/model_m/modelh` - `ibm/model_m_122/ibm122m` - `ibnuda/gurindam` - `idb/idb_60` - `idobao/id75/v1` - `idobao/id75/v2` - `idobao/id96` - `idobao/montex/v1` - `illuminati/is0` - `illusion/rosa` - `ilumkb/primus75` - `ilumkb/volcano660` - `inland/kb83` - `input_club/ergodox_infinity` - `irene` - `iriskeyboards` - `iron180` - `jacky_studio/bear_65/rev1` - `jacky_studio/bear_65/rev2` - `jacky_studio/s7_elephant/rev1` - `jacky_studio/s7_elephant/rev2` - `jadookb/jkb65` - `jae/j01` - `jagdpietr/drakon` - `jd40` - `jd45` - `jels/boaty` - `jels/jels60/v1` - `jels/jels60/v2` - `jels/jels88` - `jolofsor/denial75` - `jorne/rev1` - `joshajohnson/hub16` - `joshajohnson/hub20` - `jukaie/jk01`
Diffstat (limited to 'keyboards/ibm')
-rw-r--r--keyboards/ibm/model_m/modelh/config.h6
-rw-r--r--keyboards/ibm/model_m/modelh/keyboard.json6
-rw-r--r--keyboards/ibm/model_m_122/ibm122m/config.h5
-rw-r--r--keyboards/ibm/model_m_122/ibm122m/keyboard.json6
4 files changed, 12 insertions, 11 deletions
diff --git a/keyboards/ibm/model_m/modelh/config.h b/keyboards/ibm/model_m/modelh/config.h
index ac95ccfe66..eff37a4b3b 100644
--- a/keyboards/ibm/model_m/modelh/config.h
+++ b/keyboards/ibm/model_m/modelh/config.h
@@ -22,12 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MODELH_STATUS_LED C13
-/* 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/ibm/model_m/modelh/keyboard.json b/keyboards/ibm/model_m/modelh/keyboard.json
index 897d9be2f4..513d5d9bb6 100644
--- a/keyboards/ibm/model_m/modelh/keyboard.json
+++ b/keyboards/ibm/model_m/modelh/keyboard.json
@@ -12,6 +12,12 @@
"mousekey": false,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"indicators": {
"caps_lock": "B8",
"num_lock": "B7",
diff --git a/keyboards/ibm/model_m_122/ibm122m/config.h b/keyboards/ibm/model_m_122/ibm122m/config.h
index af3de54eb2..3222783699 100644
--- a/keyboards/ibm/model_m_122/ibm122m/config.h
+++ b/keyboards/ibm/model_m_122/ibm122m/config.h
@@ -17,11 +17,6 @@ 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
-
#define AUDIO_PIN_ALT B6
#define AUDIO_PIN C6
diff --git a/keyboards/ibm/model_m_122/ibm122m/keyboard.json b/keyboards/ibm/model_m_122/ibm122m/keyboard.json
index 3c43d17d92..a9e10ffd6a 100644
--- a/keyboards/ibm/model_m_122/ibm122m/keyboard.json
+++ b/keyboards/ibm/model_m_122/ibm122m/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["E6", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "E0", "E1", "C0", "C1", "C2", "C3", "C4", "C5", "C7", "F1"],
"rows": ["F0", "B5", "B4", "B3", "B2", "B1", "B0", "E7"]