summaryrefslogtreecommitdiff
path: root/keyboards/planck/rev7
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/planck/rev7
parent3a5e4253fcfe840170df5ae1ce623ab72c942d70 (diff)
Migrate some dip switch config to info.json (#22437)
Diffstat (limited to 'keyboards/planck/rev7')
-rw-r--r--keyboards/planck/rev7/config.h3
-rw-r--r--keyboards/planck/rev7/info.json3
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/rev7/config.h b/keyboards/planck/rev7/config.h
index 3da5a4e6b9..678cb1d438 100644
--- a/keyboards/planck/rev7/config.h
+++ b/keyboards/planck/rev7/config.h
@@ -17,9 +17,6 @@
#pragma once
-#define DIP_SWITCH_PINS \
- { B14, A15, A0, B9 }
-
#define MUSIC_MAP
#undef AUDIO_VOICES
#undef AUDIO_PIN
diff --git a/keyboards/planck/rev7/info.json b/keyboards/planck/rev7/info.json
index 1d57732b4f..72dce51d83 100644
--- a/keyboards/planck/rev7/info.json
+++ b/keyboards/planck/rev7/info.json
@@ -20,6 +20,9 @@
"rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2"]
},
"diode_direction": "COL2ROW",
+ "dip_switch": {
+ "pins": ["B14", "A15", "A0", "B9"]
+ },
"encoder": {
"rotary": [
{"pin_a": "B12", "pin_b": "B13"}