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/nyquist/rev2/config.h | 4 ---- keyboards/keebio/nyquist/rev2/info.json | 4 ++++ keyboards/keebio/nyquist/rev3/config.h | 4 ---- keyboards/keebio/nyquist/rev3/info.json | 4 ++++ 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'keyboards/keebio/nyquist') diff --git a/keyboards/keebio/nyquist/rev2/config.h b/keyboards/keebio/nyquist/rev2/config.h index 08d34cb7f8..267faf45d9 100644 --- a/keyboards/keebio/nyquist/rev2/config.h +++ b/keyboards/keebio/nyquist/rev2/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . #define RGBLED_NUM 12 #define RGBLED_SPLIT { 6, 6 } -/* Backlight LEDs */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 7 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/keebio/nyquist/rev2/info.json b/keyboards/keebio/nyquist/rev2/info.json index a18075f9b1..b47bb7511b 100644 --- a/keyboards/keebio/nyquist/rev2/info.json +++ b/keyboards/keebio/nyquist/rev2/info.json @@ -4,6 +4,10 @@ "pid": "0x2156", "device_version": "2.0.0" }, + "backlight": { + "pin": "B6", + "levels": 7 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/nyquist/rev3/config.h b/keyboards/keebio/nyquist/rev3/config.h index a196522d30..697205027d 100644 --- a/keyboards/keebio/nyquist/rev3/config.h +++ b/keyboards/keebio/nyquist/rev3/config.h @@ -45,10 +45,6 @@ along with this program. If not, see . #define RGBLED_NUM 12 #define RGBLED_SPLIT { 6, 6 } -/* Backlight LEDs */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 7 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/keebio/nyquist/rev3/info.json b/keyboards/keebio/nyquist/rev3/info.json index 8ed16f832e..e7bd8635ae 100644 --- a/keyboards/keebio/nyquist/rev3/info.json +++ b/keyboards/keebio/nyquist/rev3/info.json @@ -4,6 +4,10 @@ "pid": "0x3156", "device_version": "3.0.0" }, + "backlight": { + "pin": "B5", + "levels": 7 + }, "split": { "soft_serial_pin": "D0" }, -- cgit v1.2.3