summaryrefslogtreecommitdiff
path: root/keyboards/pearlboards
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/pearlboards
parent3a5e4253fcfe840170df5ae1ce623ab72c942d70 (diff)
Migrate some dip switch config to info.json (#22437)
Diffstat (limited to 'keyboards/pearlboards')
-rw-r--r--keyboards/pearlboards/pandora/config.h2
-rw-r--r--keyboards/pearlboards/pandora/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/pearlboards/pandora/config.h b/keyboards/pearlboards/pandora/config.h
index beaeec353d..7efef3364b 100644
--- a/keyboards/pearlboards/pandora/config.h
+++ b/keyboards/pearlboards/pandora/config.h
@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define DIP_SWITCH_PINS { B2, B5 }
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/pearlboards/pandora/info.json b/keyboards/pearlboards/pandora/info.json
index e0a28788eb..7dbcdf6ff2 100644
--- a/keyboards/pearlboards/pandora/info.json
+++ b/keyboards/pearlboards/pandora/info.json
@@ -13,6 +13,9 @@
"rows": ["B4", "D7", "D6", "B3", "B0"]
},
"diode_direction": "COL2ROW",
+ "dip_switch": {
+ "pins": ["B2", "B5"]
+ },
"encoder": {
"rotary": [
{"pin_a": "F6", "pin_b": "F5", "resolution": 1}