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/splitkb/aurora/sweep/rev1/config.h | 10 ---------- keyboards/splitkb/aurora/sweep/rev1/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'keyboards/splitkb/aurora/sweep/rev1') diff --git a/keyboards/splitkb/aurora/sweep/rev1/config.h b/keyboards/splitkb/aurora/sweep/rev1/config.h index 98bdc4b14d..edab8afcda 100644 --- a/keyboards/splitkb/aurora/sweep/rev1/config.h +++ b/keyboards/splitkb/aurora/sweep/rev1/config.h @@ -33,13 +33,3 @@ # define RGB_MATRIX_SPLIT RGBLED_SPLIT # define SPLIT_TRANSPORT_MIRROR #endif - -// Not yet available in `info.json` -#ifdef BOOTMAGIC_ENABLE - // Top left key on left half -# define BOOTMAGIC_LITE_ROW 0 -# define BOOTMAGIC_LITE_COLUMN 4 - // Top right key on right half -# define BOOTMAGIC_LITE_ROW_RIGHT 4 -# define BOOTMAGIC_LITE_COLUMN_RIGHT 4 -#endif diff --git a/keyboards/splitkb/aurora/sweep/rev1/info.json b/keyboards/splitkb/aurora/sweep/rev1/info.json index 57b2754eac..dc1cfeea82 100644 --- a/keyboards/splitkb/aurora/sweep/rev1/info.json +++ b/keyboards/splitkb/aurora/sweep/rev1/info.json @@ -3,6 +3,9 @@ "usb": { "pid": "0xEC17" }, + "bootmagic": { + "matrix": [0, 4] + }, "features": { "mousekey": true, "bootmagic": true, @@ -78,6 +81,9 @@ ] }, "split": { + "bootmagic": { + "matrix": [4, 4] + }, "soft_serial_pin": "D2", "main": "pin", "matrix_pins": { -- cgit v1.2.3