From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 08:37:57 +1100 Subject: Move backlight config to data driven (#19910) --- keyboards/mechlovin/adelais/standard_led/arm/config.h | 2 -- keyboards/mechlovin/adelais/standard_led/arm/info.json | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) (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 90a5cf6575..e1081a9560 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/config.h +++ b/keyboards/mechlovin/adelais/standard_led/arm/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B0 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/mechlovin/adelais/standard_led/arm/info.json b/keyboards/mechlovin/adelais/standard_led/arm/info.json index 3835f71f94..a5f20190d1 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/info.json +++ b/keyboards/mechlovin/adelais/standard_led/arm/info.json @@ -1,5 +1,9 @@ { "keyboard_name": "Adelais", + "backlight": { + "pin": "B0", + "breathing": true + }, "indicators": { "caps_lock": "B2", "num_lock": "C15", -- cgit v1.2.3