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/deng/thirty/config.h | 6 ------ keyboards/deng/thirty/info.json | 3 +++ keyboards/deng/thirty/rules.mk | 1 - 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'keyboards/deng/thirty') diff --git a/keyboards/deng/thirty/config.h b/keyboards/deng/thirty/config.h index a3462809c1..e80b0d97a4 100644 --- a/keyboards/deng/thirty/config.h +++ b/keyboards/deng/thirty/config.h @@ -21,12 +21,6 @@ #define MATRIX_COL_PINS { B13, B14, B3, A4, A6 } #define DIODE_DIRECTION COL2ROW -/* Backlight */ -#ifdef BACKLIGHT_ENABLE -#define BACKLIGHT_PIN B11 -#define BACKLIGHT_LEVELS 5 -#endif - /* RGB Matrix */ #ifdef RGB_MATRIX_ENABLE #define RGB_DI_PIN B12 diff --git a/keyboards/deng/thirty/info.json b/keyboards/deng/thirty/info.json index d17b1d41dd..0fda78c76d 100644 --- a/keyboards/deng/thirty/info.json +++ b/keyboards/deng/thirty/info.json @@ -9,6 +9,9 @@ "device_version": "0.0.1" }, "backlight": { + "driver": "software", + "pin": "B11", + "levels": 5, "on_state": 0 }, "processor": "STM32F103", diff --git a/keyboards/deng/thirty/rules.mk b/keyboards/deng/thirty/rules.mk index 90bd050f7c..91837f3d45 100644 --- a/keyboards/deng/thirty/rules.mk +++ b/keyboards/deng/thirty/rules.mk @@ -12,7 +12,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = software RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes -- cgit v1.2.3