From d784f78bd0a034c1d6085379615014fd701536ab Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Feb 2023 08:49:49 +1100 Subject: Move Bootmagic config to data driven (#19860) --- keyboards/mechlovin/hex4b/config.h | 4 ---- keyboards/mechlovin/hex4b/info.json | 3 +++ keyboards/mechlovin/hex4b/rev1/config.h | 4 ---- keyboards/mechlovin/hex4b/rev2/config.h | 4 ---- 4 files changed, 3 insertions(+), 12 deletions(-) (limited to 'keyboards/mechlovin/hex4b') diff --git a/keyboards/mechlovin/hex4b/config.h b/keyboards/mechlovin/hex4b/config.h index 0724ec4bb4..97e768fa61 100644 --- a/keyboards/mechlovin/hex4b/config.h +++ b/keyboards/mechlovin/hex4b/config.h @@ -37,7 +37,3 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW #define LED_PIN_ON_STATE 0 - -/* Bootmagic Lite key configuration, Backspace */ -#define BOOTMAGIC_LITE_ROW 1 -#define BOOTMAGIC_LITE_COLUMN 14 diff --git a/keyboards/mechlovin/hex4b/info.json b/keyboards/mechlovin/hex4b/info.json index 2edd39b3e2..3cc4645584 100644 --- a/keyboards/mechlovin/hex4b/info.json +++ b/keyboards/mechlovin/hex4b/info.json @@ -6,6 +6,9 @@ "vid": "0x4D4C", "pid": "0x0675" }, + "bootmagic": { + "matrix": [1, 14] + }, "layout_aliases": { "LAYOUT": "LAYOUT_split_bs", "LAYOUT_all": "LAYOUT_split_bs" diff --git a/keyboards/mechlovin/hex4b/rev1/config.h b/keyboards/mechlovin/hex4b/rev1/config.h index 61211d6bdf..c4e588e678 100644 --- a/keyboards/mechlovin/hex4b/rev1/config.h +++ b/keyboards/mechlovin/hex4b/rev1/config.h @@ -41,7 +41,3 @@ along with this program. If not, see . #define BACKLIGHT_PIN D4 #define BACKLIGHT_LEVELS 5 #define BACKLIGHT_BREATHING - -/* Bootmagic Lite key configuration, Backspace */ -#define BOOTMAGIC_LITE_ROW 1 -#define BOOTMAGIC_LITE_COLUMN 14 diff --git a/keyboards/mechlovin/hex4b/rev2/config.h b/keyboards/mechlovin/hex4b/rev2/config.h index 7a055b4ff7..db994638c8 100644 --- a/keyboards/mechlovin/hex4b/rev2/config.h +++ b/keyboards/mechlovin/hex4b/rev2/config.h @@ -42,7 +42,3 @@ along with this program. If not, see . #define BACKLIGHT_LEVELS 5 #define BACKLIGHT_PWM_DRIVER PWMD4 #define BACKLIGHT_BREATHING - -/* Bootmagic Lite key configuration, Backspace */ -#define BOOTMAGIC_LITE_ROW 1 -#define BOOTMAGIC_LITE_COLUMN 14 \ No newline at end of file -- cgit v1.2.3