summaryrefslogtreecommitdiff
path: root/keyboards/mechwild
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-11-22 21:33:59 +0000
committerGitHub <noreply@github.com>2023-11-23 08:33:59 +1100
commita0a6820c1b46d04bc146e0723fd47265e6afe67f (patch)
tree85f835c57123479db51f7015cc539d22b24b3d54 /keyboards/mechwild
parent3a5e4253fcfe840170df5ae1ce623ab72c942d70 (diff)
Migrate some dip switch config to info.json (#22437)
Diffstat (limited to 'keyboards/mechwild')
-rw-r--r--keyboards/mechwild/bbs/config.h4
-rw-r--r--keyboards/mechwild/bbs/info.json3
-rw-r--r--keyboards/mechwild/puckbuddy/config.h3
-rw-r--r--keyboards/mechwild/puckbuddy/info.json3
-rw-r--r--keyboards/mechwild/sugarglider/config.h3
-rw-r--r--keyboards/mechwild/sugarglider/info.json3
6 files changed, 9 insertions, 10 deletions
diff --git a/keyboards/mechwild/bbs/config.h b/keyboards/mechwild/bbs/config.h
index d19f39dd13..b626e5590d 100644
--- a/keyboards/mechwild/bbs/config.h
+++ b/keyboards/mechwild/bbs/config.h
@@ -3,10 +3,6 @@
#pragma once
-
-/* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */
-#define DIP_SWITCH_PINS { A0 }
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/mechwild/bbs/info.json b/keyboards/mechwild/bbs/info.json
index 39c23e2fff..c0ba888d9a 100644
--- a/keyboards/mechwild/bbs/info.json
+++ b/keyboards/mechwild/bbs/info.json
@@ -14,6 +14,9 @@
"rows": ["B12", "B10", "B13", "B1", "B14"]
},
"diode_direction": "COL2ROW",
+ "dip_switch": {
+ "pins": ["A0"]
+ },
"indicators": {
"caps_lock": "C13",
"on_state": 0
diff --git a/keyboards/mechwild/puckbuddy/config.h b/keyboards/mechwild/puckbuddy/config.h
index 53263d764e..ad4823c741 100644
--- a/keyboards/mechwild/puckbuddy/config.h
+++ b/keyboards/mechwild/puckbuddy/config.h
@@ -7,9 +7,6 @@
/* Define custom font */
#define OLED_FONT_H "keyboards/mechwild/puckbuddy/glcdfont.c"
-/* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */
-#define DIP_SWITCH_PINS { A0 }
-
/* set the tapping term for glidepoint pad to register a tap click */
//#define CIRQUE_PINNACLE_TAPPING_TERM 0 // This is set to 0 to disable it
diff --git a/keyboards/mechwild/puckbuddy/info.json b/keyboards/mechwild/puckbuddy/info.json
index 503d9b4429..56bac432b8 100644
--- a/keyboards/mechwild/puckbuddy/info.json
+++ b/keyboards/mechwild/puckbuddy/info.json
@@ -13,6 +13,9 @@
"rows": ["B12", "B13", "B14", "B15"]
},
"diode_direction": "COL2ROW",
+ "dip_switch": {
+ "pins": ["A0"]
+ },
"encoder": {
"rotary": [
{"pin_a": "B1", "pin_b": "B0"},
diff --git a/keyboards/mechwild/sugarglider/config.h b/keyboards/mechwild/sugarglider/config.h
index f078cf34cc..b092db627b 100644
--- a/keyboards/mechwild/sugarglider/config.h
+++ b/keyboards/mechwild/sugarglider/config.h
@@ -14,9 +14,6 @@
/* Define custom font */
#define OLED_FONT_H "keyboards/mechwild/sugarglider/glcdfont.c"
-/* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */
-#define DIP_SWITCH_PINS { A0 }
-
#define CIRQUE_PINNACLE_TAP_ENABLE
#define POINTING_DEVICE_GESTURES_SCROLL_ENABLE
diff --git a/keyboards/mechwild/sugarglider/info.json b/keyboards/mechwild/sugarglider/info.json
index 7448ae2854..c9095b3db4 100644
--- a/keyboards/mechwild/sugarglider/info.json
+++ b/keyboards/mechwild/sugarglider/info.json
@@ -54,6 +54,9 @@
"build": {
"debounce_type": "sym_eager_pk"
},
+ "dip_switch": {
+ "pins": ["A0"]
+ },
"encoder": {
"rotary": [
{"pin_a": "B0", "pin_b": "A2", "resolution": 4},