summaryrefslogtreecommitdiff
path: root/keyboards/mlego/m60_split/rev2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mlego/m60_split/rev2')
-rw-r--r--keyboards/mlego/m60_split/rev2/config.h12
-rw-r--r--keyboards/mlego/m60_split/rev2/info.json11
2 files changed, 11 insertions, 12 deletions
diff --git a/keyboards/mlego/m60_split/rev2/config.h b/keyboards/mlego/m60_split/rev2/config.h
index 2bb9334497..9d5cd08e3e 100644
--- a/keyboards/mlego/m60_split/rev2/config.h
+++ b/keyboards/mlego/m60_split/rev2/config.h
@@ -15,18 +15,6 @@
*/
#pragma once
-
-#define MATRIX_ROW_PINS \
- { B0, A6, A7, B1, A5 }
-#define MATRIX_COL_PINS \
- { B14, A10, A15, B3, B4, B5 }
-
-#define MATRIX_ROW_PINS_RIGHT \
- { B1, A4, A5, A6, A7 }
-
-#define MATRIX_COL_PINS_RIGHT \
- { B0, A3, A2, A1, B7, B5 } // cols are from right to left to match the layout
-
#define SPLIT_LAYER_STATE_ENABLE
#define SPLIT_LED_STATE_ENABLE
diff --git a/keyboards/mlego/m60_split/rev2/info.json b/keyboards/mlego/m60_split/rev2/info.json
index 4e281733e1..5ab7696dbe 100644
--- a/keyboards/mlego/m60_split/rev2/info.json
+++ b/keyboards/mlego/m60_split/rev2/info.json
@@ -3,6 +3,11 @@
"pid": "0x6362",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B14", "A10", "A15", "B3", "B4", "B5"],
+ "rows": ["B0", "A6", "A7", "B1", "A5"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "A0", "pin_b": "B8"}
@@ -16,6 +21,12 @@
"split": {
"bootmagic": {
"matrix": [5, 0]
+ },
+ "matrix_pins": {
+ "right": {
+ "cols": ["B0", "A3", "A2", "A1", "B7", "B5"],
+ "rows": ["B1", "A4", "A5", "A6", "A7"]
+ }
}
},
"processor": "STM32F411",