summaryrefslogtreecommitdiff
path: root/keyboards/miiiw/blackio83
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/miiiw/blackio83
parent3a5e4253fcfe840170df5ae1ce623ab72c942d70 (diff)
Migrate some dip switch config to info.json (#22437)
Diffstat (limited to 'keyboards/miiiw/blackio83')
-rw-r--r--keyboards/miiiw/blackio83/info.json3
-rw-r--r--keyboards/miiiw/blackio83/rev_0100/config.h13
2 files changed, 3 insertions, 13 deletions
diff --git a/keyboards/miiiw/blackio83/info.json b/keyboards/miiiw/blackio83/info.json
index 40fc6b7d89..107e288099 100644
--- a/keyboards/miiiw/blackio83/info.json
+++ b/keyboards/miiiw/blackio83/info.json
@@ -26,6 +26,9 @@
"cols": ["H0", "H1", "H2", "H3", "H4", "H5", "H6", "H7", "H8", "H9", "H10", "H11", "H12", "H13", "H14", "H15"],
"rows": ["A7", "A6", "A5", "A4", "A3", "A2"]
},
+ "dip_switch": {
+ "pins": ["B0", "B1", "B8", "B12"]
+ },
"processor": "STM32F072",
"rgb_matrix": {
"driver": "ws2812",
diff --git a/keyboards/miiiw/blackio83/rev_0100/config.h b/keyboards/miiiw/blackio83/rev_0100/config.h
index 803c8a8a3b..e68a9d0b16 100644
--- a/keyboards/miiiw/blackio83/rev_0100/config.h
+++ b/keyboards/miiiw/blackio83/rev_0100/config.h
@@ -16,20 +16,7 @@
#pragma once
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
- */
-
-/* Dip Switch */
#define POWER_SWITCH_PIN B0
-#define DIP_SWITCH_PINS { B0, B1, B8, B12 }
/* 16 with dummy columns for shift registers */
#define SHR_SERIES_NUM 2