diff options
Diffstat (limited to 'keyboards/mlego/m48/rev1')
-rw-r--r-- | keyboards/mlego/m48/rev1/config.h | 7 | ||||
-rw-r--r-- | keyboards/mlego/m48/rev1/info.json | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/keyboards/mlego/m48/rev1/config.h b/keyboards/mlego/m48/rev1/config.h index 04c1bb4509..303b7ae5b5 100644 --- a/keyboards/mlego/m48/rev1/config.h +++ b/keyboards/mlego/m48/rev1/config.h @@ -15,15 +15,8 @@ */ #pragma once - -#define MATRIX_ROW_PINS \ - { A6, A7, B0, B10 } -#define MATRIX_COL_PINS \ - { A10, A15, B3, B4, B5, B7, B6, A1, A2, A3, A4, A5 } - #ifdef RGBLIGHT_ENABLE #define RGBLIGHT_LAYERS -#define RGB_DI_PIN B15 #define RGBLED_NUM 20 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/mlego/m48/rev1/info.json b/keyboards/mlego/m48/rev1/info.json index ecfa4dc940..4ccf9ede92 100644 --- a/keyboards/mlego/m48/rev1/info.json +++ b/keyboards/mlego/m48/rev1/info.json @@ -3,6 +3,11 @@ "pid": "0x6261", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"], + "rows": ["A6", "A7", "B0", "B10"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "A0", "pin_b": "B8"} @@ -13,6 +18,9 @@ "num_lock": "B12", "scroll_lock": "B13" }, + "ws2812": { + "pin": "B15" + }, "processor": "STM32F401", "bootloader": "tinyuf2", "board": "BLACKPILL_STM32_F401" |