diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 08:49:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 08:49:49 +1100 |
commit | d784f78bd0a034c1d6085379615014fd701536ab (patch) | |
tree | 2b81c4e8848ebc8dece2ad9aaa8126d12a87825c /keyboards/mlego | |
parent | 7fad94ba2d5092abe451d0bbc95caaa37fec95bc (diff) |
Move Bootmagic config to data driven (#19860)
Diffstat (limited to 'keyboards/mlego')
-rw-r--r-- | keyboards/mlego/m60_split/rev1/config.h | 6 | ||||
-rw-r--r-- | keyboards/mlego/m60_split/rev1/info.json | 5 | ||||
-rw-r--r-- | keyboards/mlego/m60_split/rev2/config.h | 7 | ||||
-rw-r--r-- | keyboards/mlego/m60_split/rev2/info.json | 5 |
4 files changed, 10 insertions, 13 deletions
diff --git a/keyboards/mlego/m60_split/rev1/config.h b/keyboards/mlego/m60_split/rev1/config.h index 89266fd0b8..5e376563fc 100644 --- a/keyboards/mlego/m60_split/rev1/config.h +++ b/keyboards/mlego/m60_split/rev1/config.h @@ -70,10 +70,4 @@ #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -/* Bootmagic Lite key configuration */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 0 -#define BOOTMAGIC_LITE_ROW_RIGHT 5 -#define BOOTMAGIC_LITE_COLUMN_RIGHT 0 #endif diff --git a/keyboards/mlego/m60_split/rev1/info.json b/keyboards/mlego/m60_split/rev1/info.json index b1cfbd3d4b..e306bb804f 100644 --- a/keyboards/mlego/m60_split/rev1/info.json +++ b/keyboards/mlego/m60_split/rev1/info.json @@ -3,6 +3,11 @@ "pid": "0x6361", "device_version": "0.0.1" }, + "split": { + "bootmagic": { + "matrix": [5, 0] + } + }, "processor": "STM32F401", "bootloader": "tinyuf2", "board": "BLACKPILL_STM32_F401" diff --git a/keyboards/mlego/m60_split/rev2/config.h b/keyboards/mlego/m60_split/rev2/config.h index 9d0fdc7351..524bb9daa1 100644 --- a/keyboards/mlego/m60_split/rev2/config.h +++ b/keyboards/mlego/m60_split/rev2/config.h @@ -69,10 +69,3 @@ #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE #endif - -/* Bootmagic Lite key configuration */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 0 -#define BOOTMAGIC_LITE_ROW_RIGHT 5 -#define BOOTMAGIC_LITE_COLUMN_RIGHT 0 - diff --git a/keyboards/mlego/m60_split/rev2/info.json b/keyboards/mlego/m60_split/rev2/info.json index 936c6fbdad..f51c758847 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" }, + "split": { + "bootmagic": { + "matrix": [5, 0] + } + }, "processor": "STM32F411", "bootloader": "stm32-dfu", "board": "BLACKPILL_STM32_F411" |