summaryrefslogtreecommitdiff
path: root/keyboards/handwired/split65/stm32
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:32:05 +1100
committerGitHub <noreply@github.com>2023-03-11 00:32:05 +1100
commit76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (patch)
treef25535b5a7d7d489b5bb77b5c8c57b24ba78a849 /keyboards/handwired/split65/stm32
parent9e64300e67720a5468c2585391250ca5579b311b (diff)
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/handwired/split65/stm32')
-rw-r--r--keyboards/handwired/split65/stm32/config.h6
-rw-r--r--keyboards/handwired/split65/stm32/info.json5
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/handwired/split65/stm32/config.h b/keyboards/handwired/split65/stm32/config.h
index 483b897584..020e44f02e 100644
--- a/keyboards/handwired/split65/stm32/config.h
+++ b/keyboards/handwired/split65/stm32/config.h
@@ -21,12 +21,6 @@
#define AUDIO_PIN_ALT A4
#define AUDIO_PIN_ALT_AS_NEGATIVE
-#define MATRIX_COL_PINS {A2, A1, A0, B8, B13, B14, B15, B9}
-#define MATRIX_ROW_PINS {B5, B4, B3, B2, B1}
-
-// COL2ROW, ROW2COL
-#define DIODE_DIRECTION COL2ROW
-
#define MATRIX_IO_DELAY 5
#define SELECT_SOFT_SERIAL_SPEED 1
diff --git a/keyboards/handwired/split65/stm32/info.json b/keyboards/handwired/split65/stm32/info.json
index f497c14c01..e2c0a634f3 100644
--- a/keyboards/handwired/split65/stm32/info.json
+++ b/keyboards/handwired/split65/stm32/info.json
@@ -1,4 +1,9 @@
{
+ "matrix_pins": {
+ "cols": ["A2", "A1", "A0", "B8", "B13", "B14", "B15", "B9"],
+ "rows": ["B5", "B4", "B3", "B2", "B1"]
+ },
+ "diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "A9"
},