summaryrefslogtreecommitdiff
path: root/keyboards/mixi
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-14 18:39:41 +1100
committerGitHub <noreply@github.com>2023-02-14 00:39:41 -0700
commit2cdf99ae950a82e233482347651b7689c4896827 (patch)
treef26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/mixi
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/mixi')
-rw-r--r--keyboards/mixi/config.h12
-rw-r--r--keyboards/mixi/info.json7
2 files changed, 7 insertions, 12 deletions
diff --git a/keyboards/mixi/config.h b/keyboards/mixi/config.h
index 63cc5f9da6..e6b2ef0961 100644
--- a/keyboards/mixi/config.h
+++ b/keyboards/mixi/config.h
@@ -1,17 +1,5 @@
#pragma once
-
-/* key matrix size */
-#define MATRIX_ROWS 3
-#define MATRIX_COLS 3
-
-/* Keyboard Matrix Assignments */
-#define DIRECT_PINS { \
- { D1, D4, F4 }, \
- { D0, B4, F5 }, \
- { C6, F7, B6 } \
-}
-
#define ENCODERS_PAD_A { D7, B1 }
#define ENCODERS_PAD_B { E6, B3 }
diff --git a/keyboards/mixi/info.json b/keyboards/mixi/info.json
index 17503123e3..cfc774bc2b 100644
--- a/keyboards/mixi/info.json
+++ b/keyboards/mixi/info.json
@@ -10,6 +10,13 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["D1", "D4", "F4"],
+ ["D0", "B4", "F5"],
+ ["C6", "F7", "B6"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [