aboutsummaryrefslogtreecommitdiff
path: root/keyboards/smithrune
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2024-05-23 12:34:56 -0700
committerGitHub <noreply@github.com>2024-05-23 20:34:56 +0100
commit0094a6f571d4ab56e7a4747a35482c5f98e821f3 (patch)
tree64b394ad6f8b66719e95e3e86255d6a1f7f68906 /keyboards/smithrune
parent634ebc9763b7320beb669085188aaa7abbed615d (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: S, Part 2 (#23784)
Affects: - `slz40` - `smithrune/iron160/iron160_s` - `smithrune/iron165r2/f072` - `smithrune/iron165r2/f411` - `smithrune/iron180` - `smithrune/iron180v2/v2h` - `smithrune/iron180v2/v2s` - `smoll/lefty` - `snampad` - `sneakbox/aliceclone` - `sneakbox/disarray/ortho` - `sneakbox/disarray/staggered` - `soup10` - `soy20` - `sparrow62` - `split67` - `splitish` - `splitography` - `star75` - `stello65/beta` - `stello65/hs_rev1` - `stello65/sl_rev1` - `stenokeyboards/the_uni/pro_micro` - `stenokeyboards/the_uni/usb_c` - `strech/soulstone` - `studiokestra/bourgeau` - `studiokestra/cascade` - `studiokestra/frl84` - `studiokestra/galatea/rev1` - `studiokestra/galatea/rev2` - `studiokestra/galatea/rev3` - `studiokestra/line_friends_tkl` - `studiokestra/nascent` - `studiokestra/nue` - `suavity/ehan` - `subatomic` - `switchplate/southpaw_65` - `switchplate/southpaw_fullsize` - `switchplate/switchplate910` - `sx60` - `system76/launch_1`
Diffstat (limited to 'keyboards/smithrune')
-rw-r--r--keyboards/smithrune/iron160/iron160_s/config.h4
-rw-r--r--keyboards/smithrune/iron160/iron160_s/keyboard.json6
-rw-r--r--keyboards/smithrune/iron165r2/config.h3
-rw-r--r--keyboards/smithrune/iron165r2/f072/keyboard.json6
-rw-r--r--keyboards/smithrune/iron165r2/f411/keyboard.json6
-rw-r--r--keyboards/smithrune/iron180/config.h5
-rw-r--r--keyboards/smithrune/iron180/keyboard.json6
-rw-r--r--keyboards/smithrune/iron180v2/v2h/config.h5
-rw-r--r--keyboards/smithrune/iron180v2/v2h/keyboard.json6
-rw-r--r--keyboards/smithrune/iron180v2/v2s/config.h5
-rw-r--r--keyboards/smithrune/iron180v2/v2s/keyboard.json6
11 files changed, 36 insertions, 22 deletions
diff --git a/keyboards/smithrune/iron160/iron160_s/config.h b/keyboards/smithrune/iron160/iron160_s/config.h
index e5da34f312..981a344d68 100644
--- a/keyboards/smithrune/iron160/iron160_s/config.h
+++ b/keyboards/smithrune/iron160/iron160_s/config.h
@@ -20,7 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 2
#define BACKLIGHT_PAL_MODE 1
-/* 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/smithrune/iron160/iron160_s/keyboard.json b/keyboards/smithrune/iron160/iron160_s/keyboard.json
index b2a465399f..d6bf0a43f5 100644
--- a/keyboards/smithrune/iron160/iron160_s/keyboard.json
+++ b/keyboards/smithrune/iron160/iron160_s/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"matrix_pins": {
diff --git a/keyboards/smithrune/iron165r2/config.h b/keyboards/smithrune/iron165r2/config.h
index b803959d13..a3e46ee8d2 100644
--- a/keyboards/smithrune/iron165r2/config.h
+++ b/keyboards/smithrune/iron165r2/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define LOCKING_SUPPORT_ENABLE
-#define LOCKING_RESYNC_ENABLE
-
//#define ALL_RGBS // Define the RGB option here
//#define LINE_RGBS
//#define RUNE_RGBS
diff --git a/keyboards/smithrune/iron165r2/f072/keyboard.json b/keyboards/smithrune/iron165r2/f072/keyboard.json
index e16493d0b5..b3b307d71c 100644
--- a/keyboards/smithrune/iron165r2/f072/keyboard.json
+++ b/keyboards/smithrune/iron165r2/f072/keyboard.json
@@ -11,6 +11,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "A6",
"levels": 20,
diff --git a/keyboards/smithrune/iron165r2/f411/keyboard.json b/keyboards/smithrune/iron165r2/f411/keyboard.json
index d3d4b3de50..75edab14af 100644
--- a/keyboards/smithrune/iron165r2/f411/keyboard.json
+++ b/keyboards/smithrune/iron165r2/f411/keyboard.json
@@ -11,6 +11,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"eeprom": {
"driver": "i2c"
},
diff --git a/keyboards/smithrune/iron180/config.h b/keyboards/smithrune/iron180/config.h
index 7506922b00..efc249f466 100644
--- a/keyboards/smithrune/iron180/config.h
+++ b/keyboards/smithrune/iron180/config.h
@@ -21,11 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-/* 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/smithrune/iron180/keyboard.json b/keyboards/smithrune/iron180/keyboard.json
index 0a7367649a..b0c6e1a8ff 100644
--- a/keyboards/smithrune/iron180/keyboard.json
+++ b/keyboards/smithrune/iron180/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B7", "B6", "B5", "B4", "B3", "A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B2", "A4", "B1", "A3"],
"rows": ["B9", "B8", "A15", "B0", "A7", "A5"]
diff --git a/keyboards/smithrune/iron180v2/v2h/config.h b/keyboards/smithrune/iron180v2/v2h/config.h
index 1d195c5a45..a3810f7d79 100644
--- a/keyboards/smithrune/iron180v2/v2h/config.h
+++ b/keyboards/smithrune/iron180v2/v2h/config.h
@@ -17,10 +17,5 @@ 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 WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096
diff --git a/keyboards/smithrune/iron180v2/v2h/keyboard.json b/keyboards/smithrune/iron180v2/v2h/keyboard.json
index a41c9d7e95..1580a12b8c 100644
--- a/keyboards/smithrune/iron180v2/v2h/keyboard.json
+++ b/keyboards/smithrune/iron180v2/v2h/keyboard.json
@@ -20,6 +20,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"build": {
"lto": true
},
diff --git a/keyboards/smithrune/iron180v2/v2s/config.h b/keyboards/smithrune/iron180v2/v2s/config.h
index bf443b56f1..acd45ba280 100644
--- a/keyboards/smithrune/iron180v2/v2s/config.h
+++ b/keyboards/smithrune/iron180v2/v2s/config.h
@@ -21,11 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 2
-/* 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 WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096
diff --git a/keyboards/smithrune/iron180v2/v2s/keyboard.json b/keyboards/smithrune/iron180v2/v2s/keyboard.json
index 8274415991..f8f27f4cc1 100644
--- a/keyboards/smithrune/iron180v2/v2s/keyboard.json
+++ b/keyboards/smithrune/iron180v2/v2s/keyboard.json
@@ -21,6 +21,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"build": {
"lto": true
},