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/horrortroll/chinese_pcb/black_e65/config.h | 6 ------ keyboards/horrortroll/chinese_pcb/black_e65/info.json | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'keyboards/horrortroll') diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/config.h b/keyboards/horrortroll/chinese_pcb/black_e65/config.h index f058f17f82..9e040808d2 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/config.h +++ b/keyboards/horrortroll/chinese_pcb/black_e65/config.h @@ -27,12 +27,6 @@ /* Forcing to use NKRO instead 6KRO */ #define FORCE_NKRO -#ifdef BACKLIGHT_ENABLE - /* Backlight config */ - #define BACKLIGHT_PIN B6 - #define BACKLIGHT_LEVELS 6 -#endif - #ifdef RGBLIGHT_ENABLE /* RGB Lighting config */ #define RGB_DI_PIN E2 diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/info.json b/keyboards/horrortroll/chinese_pcb/black_e65/info.json index c1927fc3d1..24fae0c08a 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/info.json +++ b/keyboards/horrortroll/chinese_pcb/black_e65/info.json @@ -8,6 +8,10 @@ "pid": "0x7000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6 + }, "indicators": { "caps_lock": "C7" }, -- cgit v1.2.3