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/wolf/ts60/config.h | 3 --- keyboards/wolf/ts60/info.json | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'keyboards/wolf/ts60') diff --git a/keyboards/wolf/ts60/config.h b/keyboards/wolf/ts60/config.h index e5cb71fb4c..7664e747c7 100644 --- a/keyboards/wolf/ts60/config.h +++ b/keyboards/wolf/ts60/config.h @@ -52,7 +52,4 @@ along with this program. If not, see . #define RGBLIGHT_SLEEP #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL -/* Define Per Key Backlight */ -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 6 #define BACKLIGHT_DEFAULT_LEVEL 6 diff --git a/keyboards/wolf/ts60/info.json b/keyboards/wolf/ts60/info.json index e3d2a375e3..8b40cd6ff2 100644 --- a/keyboards/wolf/ts60/info.json +++ b/keyboards/wolf/ts60/info.json @@ -8,6 +8,10 @@ "pid": "0x0050", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi"], -- cgit v1.2.3