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/winkeyless/b87/config.h | 2 -- keyboards/winkeyless/b87/info.json | 3 +++ keyboards/winkeyless/bface/config.h | 2 -- keyboards/winkeyless/bface/info.json | 3 +++ keyboards/winkeyless/bmini/config.h | 2 -- keyboards/winkeyless/bmini/info.json | 3 +++ keyboards/winkeyless/bminiex/config.h | 3 --- keyboards/winkeyless/bminiex/info.json | 4 ++++ 8 files changed, 13 insertions(+), 9 deletions(-) (limited to 'keyboards/winkeyless') diff --git a/keyboards/winkeyless/b87/config.h b/keyboards/winkeyless/b87/config.h index 6d0d221922..ce27a1c563 100644 --- a/keyboards/winkeyless/b87/config.h +++ b/keyboards/winkeyless/b87/config.h @@ -36,5 +36,3 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/b87/info.json b/keyboards/winkeyless/b87/info.json index 0d53604cd1..542cc74d27 100644 --- a/keyboards/winkeyless/b87/info.json +++ b/keyboards/winkeyless/b87/info.json @@ -8,6 +8,9 @@ "pid": "0x0B87", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "scroll_lock": "D6" diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h index d2ad985cae..cbb0be707d 100644 --- a/keyboards/winkeyless/bface/config.h +++ b/keyboards/winkeyless/bface/config.h @@ -35,5 +35,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/bface/info.json b/keyboards/winkeyless/bface/info.json index e19e42e577..f7a8c61032 100644 --- a/keyboards/winkeyless/bface/info.json +++ b/keyboards/winkeyless/bface/info.json @@ -8,6 +8,9 @@ "pid": "0x4246", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/winkeyless/bmini/config.h b/keyboards/winkeyless/bmini/config.h index 8589b74f37..033807a3f5 100644 --- a/keyboards/winkeyless/bmini/config.h +++ b/keyboards/winkeyless/bmini/config.h @@ -34,5 +34,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/bmini/info.json b/keyboards/winkeyless/bmini/info.json index e096f860cc..58edbac998 100644 --- a/keyboards/winkeyless/bmini/info.json +++ b/keyboards/winkeyless/bmini/info.json @@ -8,6 +8,9 @@ "pid": "0x424D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/winkeyless/bminiex/config.h b/keyboards/winkeyless/bminiex/config.h index b145f25348..351de6f475 100644 --- a/keyboards/winkeyless/bminiex/config.h +++ b/keyboards/winkeyless/bminiex/config.h @@ -34,6 +34,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/winkeyless/bminiex/info.json b/keyboards/winkeyless/bminiex/info.json index 65d888eaec..afd766f480 100644 --- a/keyboards/winkeyless/bminiex/info.json +++ b/keyboards/winkeyless/bminiex/info.json @@ -8,6 +8,10 @@ "pid": "0x4258", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 5 + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", -- cgit v1.2.3