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/keebio/levinson/rev1/config.h | 4 ---- keyboards/keebio/levinson/rev1/info.json | 4 ++++ keyboards/keebio/levinson/rev2/config.h | 4 ---- keyboards/keebio/levinson/rev2/info.json | 4 ++++ keyboards/keebio/levinson/rev3/config.h | 4 ---- keyboards/keebio/levinson/rev3/info.json | 4 ++++ 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'keyboards/keebio/levinson') diff --git a/keyboards/keebio/levinson/rev1/config.h b/keyboards/keebio/levinson/rev1/config.h index 3f25206780..c64d1a9e9e 100644 --- a/keyboards/keebio/levinson/rev1/config.h +++ b/keyboards/keebio/levinson/rev1/config.h @@ -34,7 +34,3 @@ along with this program. If not, see . #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev1/info.json b/keyboards/keebio/levinson/rev1/info.json index 82eafa2db4..05416bd138 100644 --- a/keyboards/keebio/levinson/rev1/info.json +++ b/keyboards/keebio/levinson/rev1/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x1146", "device_version": "1.0.0" + }, + "backlight": { + "pin": "C6", + "levels": 7 } } diff --git a/keyboards/keebio/levinson/rev2/config.h b/keyboards/keebio/levinson/rev2/config.h index 4419aacc4c..88c38bc9ab 100644 --- a/keyboards/keebio/levinson/rev2/config.h +++ b/keyboards/keebio/levinson/rev2/config.h @@ -34,7 +34,3 @@ along with this program. If not, see . #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev2/info.json b/keyboards/keebio/levinson/rev2/info.json index 0ef0ca8d5b..dbd0901737 100644 --- a/keyboards/keebio/levinson/rev2/info.json +++ b/keyboards/keebio/levinson/rev2/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x2146", "device_version": "2.0.0" + }, + "backlight": { + "pin": "B5", + "levels": 7 } } diff --git a/keyboards/keebio/levinson/rev3/config.h b/keyboards/keebio/levinson/rev3/config.h index 5b2be68b62..be2be855d0 100644 --- a/keyboards/keebio/levinson/rev3/config.h +++ b/keyboards/keebio/levinson/rev3/config.h @@ -37,7 +37,3 @@ along with this program. If not, see . #define RGB_DI_PIN D7 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev3/info.json b/keyboards/keebio/levinson/rev3/info.json index e64545458e..8cc3fa9fb9 100644 --- a/keyboards/keebio/levinson/rev3/info.json +++ b/keyboards/keebio/levinson/rev3/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x3146", "device_version": "3.0.0" + }, + "backlight": { + "pin": "B6", + "levels": 7 } } -- cgit v1.2.3