diff options
Diffstat (limited to 'keyboards/mlego/m60_split/rev2')
-rw-r--r-- | keyboards/mlego/m60_split/rev2/config.h | 13 | ||||
-rw-r--r-- | keyboards/mlego/m60_split/rev2/info.json | 14 |
2 files changed, 14 insertions, 13 deletions
diff --git a/keyboards/mlego/m60_split/rev2/config.h b/keyboards/mlego/m60_split/rev2/config.h index 2bb9334497..cfcb26edc1 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 @@ -38,7 +26,6 @@ #ifdef RGBLIGHT_ENABLE -#define RGB_DI_PIN B15 #define RGBLIGHT_SPLIT #define RGBLIGHT_LAYERS #define RGBLED_NUM 16 diff --git a/keyboards/mlego/m60_split/rev2/info.json b/keyboards/mlego/m60_split/rev2/info.json index 4e281733e1..40718aa647 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"} @@ -13,9 +18,18 @@ "num_lock": "B12", "scroll_lock": "B13" }, + "ws2812": { + "pin": "B15" + }, "split": { "bootmagic": { "matrix": [5, 0] + }, + "matrix_pins": { + "right": { + "cols": ["B0", "A3", "A2", "A1", "B7", "B5"], + "rows": ["B1", "A4", "A5", "A6", "A7"] + } } }, "processor": "STM32F411", |