From 634ebc9763b7320beb669085188aaa7abbed615d Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Thu, 23 May 2024 12:30:25 -0700
Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: Q-R (#23781)
Affects:
- `qpockets/space_space/rev1`
- `qpockets/space_space/rev2`
- `quad_h/lb75`
- `quantrik/kyuu`
- `qwertlekeys/calice`
- `rabbit/rabbit68`
- `rainkeebs/delilah`
- `rainkeebs/rainkeeb`
- `rainkeebs/yasui`
- `rart/rart45`
- `rart/rart4x4`
- `rart/rart60`
- `rart/rart67`
- `rart/rart67m`
- `rart/rart75`
- `rart/rart75m`
- `rart/rartand`
- `rart/rartland`
- `rart/rartlice`
- `rart/rartlite`
- `rart/rartpad`
- `rate/pistachio/rev1`
- `rate/pistachio/rev2`
- `rate/pistachio_mp`
- `rate/pistachio_pro`
- `redox/rev1`
- `redscarf_iiplus/verb`
- `redscarf_iiplus/verc`
- `redscarf_iiplus/verd`
- `retro_75`
- `reversestudio/decadepad`
- `reviung/reviung5`
- `reviung/reviung33`
- `reviung/reviung34`
- `reviung/reviung39`
- `reviung/reviung41`
- `reviung/reviung53`
- `rgbkb/zen/rev1`
- `rgbkb/zen/rev2`
- `rmi_kb/aelith`
- `rmi_kb/chevron`
- `rmi_kb/herringbone/pro`
- `rmi_kb/herringbone/v1`
- `rmi_kb/squishy65`
- `rmi_kb/squishyfrl`
- `rmi_kb/squishytkl`
- `rmi_kb/wete/v1`
- `rmi_kb/wete/v2`
- `rocketboard_16`
- `rominronin/katana60/rev1`
- `rominronin/katana60/rev2`
- `roseslite`
- `rotr`
- `rpiguy9907/southpaw66`
- `rubi`
- `rura66/rev1`
- `ryanbaekr/rb1`
- `ryanbaekr/rb18`
- `ryanbaekr/rb69`
- `ryanbaekr/rb86`
- `ryanbaekr/rb87`
- `ryanskidmore/rskeys100`
- `ryloo_studio/m0110`
---
keyboards/rart/rart45/config.h | 21 ---------------------
keyboards/rart/rart45/keyboard.json | 6 ++++++
keyboards/rart/rart4x4/config.h | 24 ------------------------
keyboards/rart/rart4x4/keyboard.json | 6 ++++++
keyboards/rart/rart60/config.h | 35 -----------------------------------
keyboards/rart/rart60/keyboard.json | 6 ++++++
keyboards/rart/rart67/config.h | 24 ------------------------
keyboards/rart/rart67/keyboard.json | 6 ++++++
keyboards/rart/rart67m/config.h | 5 -----
keyboards/rart/rart67m/keyboard.json | 6 ++++++
keyboards/rart/rart75/config.h | 24 ------------------------
keyboards/rart/rart75/keyboard.json | 6 ++++++
keyboards/rart/rart75m/config.h | 5 -----
keyboards/rart/rart75m/keyboard.json | 6 ++++++
keyboards/rart/rartand/config.h | 21 ---------------------
keyboards/rart/rartand/keyboard.json | 6 ++++++
keyboards/rart/rartland/config.h | 5 -----
keyboards/rart/rartland/keyboard.json | 6 ++++++
keyboards/rart/rartlice/config.h | 5 -----
keyboards/rart/rartlice/keyboard.json | 6 ++++++
keyboards/rart/rartlite/config.h | 24 ------------------------
keyboards/rart/rartlite/keyboard.json | 6 ++++++
keyboards/rart/rartpad/config.h | 24 ------------------------
keyboards/rart/rartpad/keyboard.json | 6 ++++++
24 files changed, 72 insertions(+), 217 deletions(-)
delete mode 100644 keyboards/rart/rart45/config.h
delete mode 100644 keyboards/rart/rart4x4/config.h
delete mode 100644 keyboards/rart/rart60/config.h
delete mode 100644 keyboards/rart/rart67/config.h
delete mode 100644 keyboards/rart/rart75/config.h
delete mode 100644 keyboards/rart/rartand/config.h
delete mode 100644 keyboards/rart/rartlite/config.h
delete mode 100644 keyboards/rart/rartpad/config.h
(limited to 'keyboards/rart')
diff --git a/keyboards/rart/rart45/config.h b/keyboards/rart/rart45/config.h
deleted file mode 100644
index 2039f083f1..0000000000
--- a/keyboards/rart/rart45/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Copyright 2020 Alabahuy
- * 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/rart/rart45/keyboard.json b/keyboards/rart/rart45/keyboard.json
index fdc92b689b..42a5d054d7 100644
--- a/keyboards/rart/rart45/keyboard.json
+++ b/keyboards/rart/rart45/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D6", "D4", "B2", "B5", "B4", "B3"],
"rows": ["D1", "C2", "C1", "B1", "D0", "C3", "C0", "D7", "B0"]
diff --git a/keyboards/rart/rart4x4/config.h b/keyboards/rart/rart4x4/config.h
deleted file mode 100644
index 42556799eb..0000000000
--- a/keyboards/rart/rart4x4/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2020 Alabahuy
-
-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/rart/rart4x4/keyboard.json b/keyboards/rart/rart4x4/keyboard.json
index 8cd6ea5bd2..c38e2103de 100644
--- a/keyboards/rart/rart4x4/keyboard.json
+++ b/keyboards/rart/rart4x4/keyboard.json
@@ -40,6 +40,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F7", "B2", "B5", "B4"],
"rows": ["F4", "B6", "B3", "B1"]
diff --git a/keyboards/rart/rart60/config.h b/keyboards/rart/rart60/config.h
deleted file mode 100644
index 410fd3bd95..0000000000
--- a/keyboards/rart/rart60/config.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-Copyright 2022 Alabahuy
-
-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
-
-/* 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/rart/rart60/keyboard.json b/keyboards/rart/rart60/keyboard.json
index 3d0f6c8b55..d5cc7bf0b4 100644
--- a/keyboards/rart/rart60/keyboard.json
+++ b/keyboards/rart/rart60/keyboard.json
@@ -12,6 +12,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["GP24", "GP14", "GP13", "GP12", "GP11", "GP10", "GP9", "GP8", "GP6", "GP5", "GP4", "GP3", "GP1", "GP0", "GP18", "GP22"],
"rows": ["GP23", "GP25", "GP15", "GP16", "GP17"]
diff --git a/keyboards/rart/rart67/config.h b/keyboards/rart/rart67/config.h
deleted file mode 100644
index 42556799eb..0000000000
--- a/keyboards/rart/rart67/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2020 Alabahuy
-
-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/rart/rart67/keyboard.json b/keyboards/rart/rart67/keyboard.json
index 6a86ec74ca..6651561743 100644
--- a/keyboards/rart/rart67/keyboard.json
+++ b/keyboards/rart/rart67/keyboard.json
@@ -39,6 +39,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B3", "B2", "B1", "D5", "D4", "D6", "D7", "B4", "B5", "F0", "F7", "F6", "F5", "F4", "F1", "E6"],
"rows": ["D0", "D1", "D2", "D3", "B0"]
diff --git a/keyboards/rart/rart67m/config.h b/keyboards/rart/rart67m/config.h
index 3541d6d9ca..2306296c70 100644
--- a/keyboards/rart/rart67m/config.h
+++ b/keyboards/rart/rart67m/config.h
@@ -16,9 +16,4 @@ 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
-
#define OLED_TIMEOUT 600000
diff --git a/keyboards/rart/rart67m/keyboard.json b/keyboards/rart/rart67m/keyboard.json
index 66f28e4511..0d6cfdeed1 100644
--- a/keyboards/rart/rart67m/keyboard.json
+++ b/keyboards/rart/rart67m/keyboard.json
@@ -18,6 +18,12 @@
"oled": true,
"unicode": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "C6", "F7", "D7", "B1", "E6", "B6"],
"rows": ["D3", "D2", "D4", "F6", "B3", "B4", "B2", "B5"]
diff --git a/keyboards/rart/rart75/config.h b/keyboards/rart/rart75/config.h
deleted file mode 100644
index 42556799eb..0000000000
--- a/keyboards/rart/rart75/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2020 Alabahuy
-
-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/rart/rart75/keyboard.json b/keyboards/rart/rart75/keyboard.json
index 2d0c1e4001..beb8a7cc39 100644
--- a/keyboards/rart/rart75/keyboard.json
+++ b/keyboards/rart/rart75/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D5", "D3", "D2", "D1", "C6", "B6", "B5", "B4", "D7", "D6", "B3", "B1", "F7", "F5", "B2", "B7"],
"rows": ["F1", "F4", "F6", "C7", "D4", "D0"]
diff --git a/keyboards/rart/rart75m/config.h b/keyboards/rart/rart75m/config.h
index 3541d6d9ca..2306296c70 100644
--- a/keyboards/rart/rart75m/config.h
+++ b/keyboards/rart/rart75m/config.h
@@ -16,9 +16,4 @@ 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
-
#define OLED_TIMEOUT 600000
diff --git a/keyboards/rart/rart75m/keyboard.json b/keyboards/rart/rart75m/keyboard.json
index 18e8432e70..925e8dff5e 100644
--- a/keyboards/rart/rart75m/keyboard.json
+++ b/keyboards/rart/rart75m/keyboard.json
@@ -19,6 +19,12 @@
"oled": true,
"unicode": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B2", "D4", "F0", "C6", "F1", "D7", "F4", "E6", "F5", "B4", "F6", "B5", "F7", "B6"],
"rows": ["C7", "B3", "B1", "B0", "D3", "D2"]
diff --git a/keyboards/rart/rartand/config.h b/keyboards/rart/rartand/config.h
deleted file mode 100644
index 5ae5dc84a3..0000000000
--- a/keyboards/rart/rartand/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Copyright 2021 Alabahuy
- * 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/rart/rartand/keyboard.json b/keyboards/rart/rartand/keyboard.json
index 50d94a1cc7..330beca3e1 100644
--- a/keyboards/rart/rartand/keyboard.json
+++ b/keyboards/rart/rartand/keyboard.json
@@ -17,6 +17,12 @@
"nkro": false,
"oled": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "B4", "B5", "B3", "D4", "D6"],
"rows": ["C3", "B2", "C2", "B1", "C1", "D7", "C0", "B0"]
diff --git a/keyboards/rart/rartland/config.h b/keyboards/rart/rartland/config.h
index 79c27d8171..288dfbc3eb 100644
--- a/keyboards/rart/rartland/config.h
+++ b/keyboards/rart/rartland/config.h
@@ -16,9 +16,4 @@ 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
-
#define OLED_TIMEOUT 10000
diff --git a/keyboards/rart/rartland/keyboard.json b/keyboards/rart/rartland/keyboard.json
index ea037b78b6..158cbb8639 100644
--- a/keyboards/rart/rartland/keyboard.json
+++ b/keyboards/rart/rartland/keyboard.json
@@ -17,6 +17,12 @@
"oled": true,
"unicode": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B0", "A1", "B1", "A2", "B2", "A3", "B3", "A4", "C7", "C6", "D0", "C5", "D1", "C4"],
"rows": ["B4", "A7", "A5", "A6", "C3"]
diff --git a/keyboards/rart/rartlice/config.h b/keyboards/rart/rartlice/config.h
index 116f8d544b..88c452be39 100644
--- a/keyboards/rart/rartlice/config.h
+++ b/keyboards/rart/rartlice/config.h
@@ -17,11 +17,6 @@ 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
-
#define WS2812_SPI_DRIVER SPID2
/*
diff --git a/keyboards/rart/rartlice/keyboard.json b/keyboards/rart/rartlice/keyboard.json
index b22ca30c55..c55919e6a6 100644
--- a/keyboards/rart/rartlice/keyboard.json
+++ b/keyboards/rart/rartlice/keyboard.json
@@ -19,6 +19,12 @@
"rgblight": true,
"sleep_led": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B12", "B8", "B5", "B4", "B3", "B11", "B10", "B1", "B0", "A7", "A6", "A5", "A3", "A4", "A1"],
"rows": ["B13", "A15", "B9", "A2", "A0"]
diff --git a/keyboards/rart/rartlite/config.h b/keyboards/rart/rartlite/config.h
deleted file mode 100644
index d2937838f6..0000000000
--- a/keyboards/rart/rartlite/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2021 Alabahuy
-
-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/rart/rartlite/keyboard.json b/keyboards/rart/rartlite/keyboard.json
index e88507161d..f542654db7 100644
--- a/keyboards/rart/rartlite/keyboard.json
+++ b/keyboards/rart/rartlite/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B3", "F7", "D3"],
"rows": ["F4", "D2", "B2", "B4", "B6", "B5", "D0", "D1"]
diff --git a/keyboards/rart/rartpad/config.h b/keyboards/rart/rartpad/config.h
deleted file mode 100644
index 42556799eb..0000000000
--- a/keyboards/rart/rartpad/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Copyright 2020 Alabahuy
-
-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/rart/rartpad/keyboard.json b/keyboards/rart/rartpad/keyboard.json
index 06be8a5f69..ac9b2a38f1 100644
--- a/keyboards/rart/rartpad/keyboard.json
+++ b/keyboards/rart/rartpad/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B2", "D1", "D2", "D3"],
"rows": ["B6", "F6", "D0", "D4", "C6"]
--
cgit v1.2.3