summaryrefslogtreecommitdiff
path: root/keyboards/xiaomi/mk02
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiaomi/mk02')
-rw-r--r--keyboards/xiaomi/mk02/config.h4
-rw-r--r--keyboards/xiaomi/mk02/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/xiaomi/mk02/config.h b/keyboards/xiaomi/mk02/config.h
index 405384d710..093618f2b3 100644
--- a/keyboards/xiaomi/mk02/config.h
+++ b/keyboards/xiaomi/mk02/config.h
@@ -19,10 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
-#define MATRIX_ROW_PINS { A3, A4, A5, A6, A7, B0 }
-#define MATRIX_COL_PINS { B13, B14, B15, A15, B3, B4, B5, B6, B7, B8, B9, C14, C15, B11, A1, A2, B12 }
-#define DIODE_DIRECTION ROW2COL
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/xiaomi/mk02/info.json b/keyboards/xiaomi/mk02/info.json
index 58c3f3cbc3..97baa39f5f 100644
--- a/keyboards/xiaomi/mk02/info.json
+++ b/keyboards/xiaomi/mk02/info.json
@@ -8,6 +8,11 @@
"pid": "0x0B91",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B13", "B14", "B15", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "C14", "C15", "B11", "A1", "A2", "B12"],
+ "rows": ["A3", "A4", "A5", "A6", "A7", "B0"]
+ },
+ "diode_direction": "ROW2COL",
"layouts": {
"LAYOUT_tkl_ansi": {
"layout": [