From f4dcce7e5975276ef41d882a15e6a459b6b3689d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 20 Aug 2022 10:45:28 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: M-O (#18090) --- keyboards/mechlovin/adelais/standard_led/arm/config.h | 2 -- keyboards/mechlovin/adelais/standard_led/arm/info.json | 3 +++ keyboards/mechlovin/adelais/standard_led/arm/rev2/config.h | 3 --- keyboards/mechlovin/adelais/standard_led/arm/rev2/info.json | 5 +++++ keyboards/mechlovin/adelais/standard_led/arm/rev3/config.h | 2 -- keyboards/mechlovin/adelais/standard_led/arm/rev3/info.json | 5 +++++ keyboards/mechlovin/adelais/standard_led/arm/rev4/config.h | 2 -- keyboards/mechlovin/adelais/standard_led/arm/rev4/info.json | 5 +++++ 8 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 keyboards/mechlovin/adelais/standard_led/arm/info.json delete mode 100644 keyboards/mechlovin/adelais/standard_led/arm/rev2/config.h create mode 100644 keyboards/mechlovin/adelais/standard_led/arm/rev2/info.json create mode 100644 keyboards/mechlovin/adelais/standard_led/arm/rev3/info.json create mode 100644 keyboards/mechlovin/adelais/standard_led/arm/rev4/info.json (limited to 'keyboards/mechlovin/adelais/standard_led/arm') diff --git a/keyboards/mechlovin/adelais/standard_led/arm/config.h b/keyboards/mechlovin/adelais/standard_led/arm/config.h index 4377405fc6..22b7999c06 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/config.h +++ b/keyboards/mechlovin/adelais/standard_led/arm/config.h @@ -17,8 +17,6 @@ along with this program. If not, see . #pragma once -#define PRODUCT Adelais - #define MATRIX_ROW_PINS { B1, A0, C13, A1, A2} #define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B8, B4, B5, B3, C14, A15 } #define UNUSED_PINS diff --git a/keyboards/mechlovin/adelais/standard_led/arm/info.json b/keyboards/mechlovin/adelais/standard_led/arm/info.json new file mode 100644 index 0000000000..68e7b3d144 --- /dev/null +++ b/keyboards/mechlovin/adelais/standard_led/arm/info.json @@ -0,0 +1,3 @@ +{ + "keyboard_name": "Adelais" +} diff --git a/keyboards/mechlovin/adelais/standard_led/arm/rev2/config.h b/keyboards/mechlovin/adelais/standard_led/arm/rev2/config.h deleted file mode 100644 index 7c2c63ea21..0000000000 --- a/keyboards/mechlovin/adelais/standard_led/arm/rev2/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define PRODUCT_ID 0xAD01 \ No newline at end of file diff --git a/keyboards/mechlovin/adelais/standard_led/arm/rev2/info.json b/keyboards/mechlovin/adelais/standard_led/arm/rev2/info.json new file mode 100644 index 0000000000..ce04dbb068 --- /dev/null +++ b/keyboards/mechlovin/adelais/standard_led/arm/rev2/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "pid": "0xAD01" + } +} diff --git a/keyboards/mechlovin/adelais/standard_led/arm/rev3/config.h b/keyboards/mechlovin/adelais/standard_led/arm/rev3/config.h index 4d56fedf05..69af2941a6 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/rev3/config.h +++ b/keyboards/mechlovin/adelais/standard_led/arm/rev3/config.h @@ -1,7 +1,5 @@ #pragma once -#define PRODUCT_ID 0xAD02 - #define ENCODERS_PAD_A { A6, A4, B7 } #define ENCODERS_PAD_B { A5, A3, B6 } #define ENCODER_RESOLUTION 4 diff --git a/keyboards/mechlovin/adelais/standard_led/arm/rev3/info.json b/keyboards/mechlovin/adelais/standard_led/arm/rev3/info.json new file mode 100644 index 0000000000..f3b66e9eb2 --- /dev/null +++ b/keyboards/mechlovin/adelais/standard_led/arm/rev3/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "pid": "0xAD02" + } +} diff --git a/keyboards/mechlovin/adelais/standard_led/arm/rev4/config.h b/keyboards/mechlovin/adelais/standard_led/arm/rev4/config.h index ca793f1fec..70fa00220b 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/rev4/config.h +++ b/keyboards/mechlovin/adelais/standard_led/arm/rev4/config.h @@ -16,8 +16,6 @@ along with this program. If not, see . */ #pragma once -#define PRODUCT_ID 0xAD03 - #define ENCODERS_PAD_A { A6, A4, B7 } #define ENCODERS_PAD_B { A5, A3, B6 } #define ENCODER_RESOLUTION 4 diff --git a/keyboards/mechlovin/adelais/standard_led/arm/rev4/info.json b/keyboards/mechlovin/adelais/standard_led/arm/rev4/info.json new file mode 100644 index 0000000000..f4c096143b --- /dev/null +++ b/keyboards/mechlovin/adelais/standard_led/arm/rev4/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "pid": "0xAD03" + } +} -- cgit v1.2.3