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/duck/orion/v3/config.h | 2 -- keyboards/duck/orion/v3/info.json | 4 +++- keyboards/duck/orion/v3/rules.mk | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'keyboards/duck/orion') diff --git a/keyboards/duck/orion/v3/config.h b/keyboards/duck/orion/v3/config.h index 6dde204a3b..eda7aec4ec 100644 --- a/keyboards/duck/orion/v3/config.h +++ b/keyboards/duck/orion/v3/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 10 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/duck/orion/v3/info.json b/keyboards/duck/orion/v3/info.json index 7c4c34281c..137c731242 100644 --- a/keyboards/duck/orion/v3/info.json +++ b/keyboards/duck/orion/v3/info.json @@ -9,7 +9,9 @@ "device_version": "0.0.2" }, "backlight": { - "pins": ["B1", "B2", "B3", "E6"] + "driver": "custom", + "pins": ["B1", "B2", "B3", "E6"], + "levels": 10 }, "bootmagic": { "matrix": [4, 10] diff --git a/keyboards/duck/orion/v3/rules.mk b/keyboards/duck/orion/v3/rules.mk index d29d166083..49bc32f39b 100644 --- a/keyboards/duck/orion/v3/rules.mk +++ b/keyboards/duck/orion/v3/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom AUDIO_ENABLE = no # Audio output RGBLIGHT_ENABLE = yes -- cgit v1.2.3