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/dumbpad/v0x/config.h | 4 ---- keyboards/dumbpad/v0x/info.json | 3 +++ keyboards/dumbpad/v0x_dualencoder/config.h | 4 ---- keyboards/dumbpad/v0x_dualencoder/info.json | 3 +++ keyboards/dumbpad/v0x_right/config.h | 4 ---- keyboards/dumbpad/v0x_right/info.json | 3 +++ keyboards/dumbpad/v1x/config.h | 4 ---- keyboards/dumbpad/v1x/info.json | 3 +++ keyboards/dumbpad/v1x_dualencoder/config.h | 4 ---- keyboards/dumbpad/v1x_dualencoder/info.json | 3 +++ keyboards/dumbpad/v1x_right/config.h | 4 ---- keyboards/dumbpad/v1x_right/info.json | 3 +++ keyboards/dumbpad/v3x/config.h | 4 ---- keyboards/dumbpad/v3x/info.json | 3 +++ 14 files changed, 21 insertions(+), 28 deletions(-) (limited to 'keyboards/dumbpad') diff --git a/keyboards/dumbpad/v0x/config.h b/keyboards/dumbpad/v0x/config.h index ac2a5a229e..8d0076cf02 100644 --- a/keyboards/dumbpad/v0x/config.h +++ b/keyboards/dumbpad/v0x/config.h @@ -30,7 +30,3 @@ along with this program. If not, see . /* Onboard LEDs */ #define LED_00 B3 #define LED_01 B1 - -/* Bootmagic - hold down rotary encoder pushbutton while plugging in to enter bootloader */ -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 0 diff --git a/keyboards/dumbpad/v0x/info.json b/keyboards/dumbpad/v0x/info.json index 676860caae..160b696fe2 100644 --- a/keyboards/dumbpad/v0x/info.json +++ b/keyboards/dumbpad/v0x/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "0.0.7" }, + "bootmagic": { + "matrix": [3, 0] + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/dumbpad/v0x_dualencoder/config.h b/keyboards/dumbpad/v0x_dualencoder/config.h index 2d675139ab..f3259fcbfd 100644 --- a/keyboards/dumbpad/v0x_dualencoder/config.h +++ b/keyboards/dumbpad/v0x_dualencoder/config.h @@ -30,7 +30,3 @@ along with this program. If not, see . /* Onboard LEDs */ #define LED_00 B3 #define LED_01 B1 - -/* Bootmagic - hold down rotary encoder pushbutton while plugging in to enter bootloader */ -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 0 diff --git a/keyboards/dumbpad/v0x_dualencoder/info.json b/keyboards/dumbpad/v0x_dualencoder/info.json index d5fc6d6948..a12eecb8dc 100644 --- a/keyboards/dumbpad/v0x_dualencoder/info.json +++ b/keyboards/dumbpad/v0x_dualencoder/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "0.0.6" }, + "bootmagic": { + "matrix": [3, 0] + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/dumbpad/v0x_right/config.h b/keyboards/dumbpad/v0x_right/config.h index 76f78eff64..2b521a3266 100644 --- a/keyboards/dumbpad/v0x_right/config.h +++ b/keyboards/dumbpad/v0x_right/config.h @@ -29,7 +29,3 @@ along with this program. If not, see . /* Onboard LEDs */ #define LED_00 B1 #define LED_01 B3 - -/* Bootmagic - hold down rotary encoder pushbutton while plugging in to enter bootloader */ -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 4 diff --git a/keyboards/dumbpad/v0x_right/info.json b/keyboards/dumbpad/v0x_right/info.json index d5589ddbd6..dc01df1c32 100644 --- a/keyboards/dumbpad/v0x_right/info.json +++ b/keyboards/dumbpad/v0x_right/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "0.0.7" }, + "bootmagic": { + "matrix": [3, 4] + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/dumbpad/v1x/config.h b/keyboards/dumbpad/v1x/config.h index 35dcbe79a9..6fcb41cff3 100644 --- a/keyboards/dumbpad/v1x/config.h +++ b/keyboards/dumbpad/v1x/config.h @@ -31,7 +31,3 @@ along with this program. If not, see . #define LED_00 B6 #define LED_01 B1 #define LED_02 B3 - -/* Bootmagic - hold down rotary encoder pushbutton while plugging in to enter bootloader */ -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 0 diff --git a/keyboards/dumbpad/v1x/info.json b/keyboards/dumbpad/v1x/info.json index ae6734b006..f7da467561 100644 --- a/keyboards/dumbpad/v1x/info.json +++ b/keyboards/dumbpad/v1x/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "0.1.0" }, + "bootmagic": { + "matrix": [3, 0] + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/dumbpad/v1x_dualencoder/config.h b/keyboards/dumbpad/v1x_dualencoder/config.h index d6c2993db2..4ee185ec8d 100644 --- a/keyboards/dumbpad/v1x_dualencoder/config.h +++ b/keyboards/dumbpad/v1x_dualencoder/config.h @@ -31,7 +31,3 @@ along with this program. If not, see . #define LED_00 B6 #define LED_01 B1 #define LED_02 B3 - -/* Bootmagic - hold down rotary encoder pushbutton while plugging in to enter bootloader */ -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 0 diff --git a/keyboards/dumbpad/v1x_dualencoder/info.json b/keyboards/dumbpad/v1x_dualencoder/info.json index ae6734b006..f7da467561 100644 --- a/keyboards/dumbpad/v1x_dualencoder/info.json +++ b/keyboards/dumbpad/v1x_dualencoder/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "0.1.0" }, + "bootmagic": { + "matrix": [3, 0] + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/dumbpad/v1x_right/config.h b/keyboards/dumbpad/v1x_right/config.h index e4b947932d..391d8a8e53 100644 --- a/keyboards/dumbpad/v1x_right/config.h +++ b/keyboards/dumbpad/v1x_right/config.h @@ -31,7 +31,3 @@ along with this program. If not, see . #define LED_00 B3 #define LED_01 B1 #define LED_02 B6 - -/* Bootmagic - hold down rotary encoder pushbutton while plugging in to enter bootloader */ -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 4 diff --git a/keyboards/dumbpad/v1x_right/info.json b/keyboards/dumbpad/v1x_right/info.json index 1f7eee9a16..db02b1aead 100644 --- a/keyboards/dumbpad/v1x_right/info.json +++ b/keyboards/dumbpad/v1x_right/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "0.1.0" }, + "bootmagic": { + "matrix": [3, 4] + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/dumbpad/v3x/config.h b/keyboards/dumbpad/v3x/config.h index d689863cf7..de058775b6 100644 --- a/keyboards/dumbpad/v3x/config.h +++ b/keyboards/dumbpad/v3x/config.h @@ -31,10 +31,6 @@ along with this program. If not, see . #define LED_01 B3 #define LED_02 B6 -/* Bootmagic - hold down rotary encoder pushbutton while plugging in to enter bootloader */ -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 0 - #define RGB_DI_PIN D1 #define RGB_MATRIX_LED_COUNT 16 diff --git a/keyboards/dumbpad/v3x/info.json b/keyboards/dumbpad/v3x/info.json index 5aaf2a9564..31f44f74fe 100644 --- a/keyboards/dumbpad/v3x/info.json +++ b/keyboards/dumbpad/v3x/info.json @@ -5,6 +5,9 @@ "usb": { "device_version": "0.1.0" }, + "bootmagic": { + "matrix": [3, 0] + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { -- cgit v1.2.3