From f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Feb 2023 13:14:29 +1100 Subject: Move LED indicator config to data driven (#19800) --- keyboards/sx60/config.h | 5 ----- keyboards/sx60/info.json | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'keyboards/sx60') diff --git a/keyboards/sx60/config.h b/keyboards/sx60/config.h index 82a0b146dc..7666dc165e 100755 --- a/keyboards/sx60/config.h +++ b/keyboards/sx60/config.h @@ -32,11 +32,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* indicator LEDs */ -#define LED_NUM_LOCK_PIN F5 -#define LED_CAPS_LOCK_PIN F4 -#define LED_SCROLL_LOCK_PIN F1 - #define BACKLIGHT_PIN B7 #ifdef BACKLIGHT_PIN #define BACKLIGHT_LEVELS 3 diff --git a/keyboards/sx60/info.json b/keyboards/sx60/info.json index b88cb070fd..b4b93b2cad 100644 --- a/keyboards/sx60/info.json +++ b/keyboards/sx60/info.json @@ -8,6 +8,11 @@ "pid": "0x0010", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "F4", + "num_lock": "F5", + "scroll_lock": "F1" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { -- cgit v1.2.3