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/xelus/xs108/config.h | 6 ------ keyboards/xelus/xs108/info.json | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'keyboards/xelus/xs108') diff --git a/keyboards/xelus/xs108/config.h b/keyboards/xelus/xs108/config.h index fbd542c417..a0b409a749 100644 --- a/keyboards/xelus/xs108/config.h +++ b/keyboards/xelus/xs108/config.h @@ -30,12 +30,6 @@ /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -// LED defines -#define LED_CAPS_LOCK_PIN A2 -#define LED_SCROLL_LOCK_PIN A13 -#define LED_NUM_LOCK_PIN B7 -#define LED_PIN_ON_STATE 1 - // I2C setup #define I2C1_SCL_PIN B8 #define I2C1_SDA_PIN B9 diff --git a/keyboards/xelus/xs108/info.json b/keyboards/xelus/xs108/info.json index 95b758cd3e..c4a53a6f59 100644 --- a/keyboards/xelus/xs108/info.json +++ b/keyboards/xelus/xs108/info.json @@ -8,6 +8,11 @@ "pid": "0x0108", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "A2", + "num_lock": "B7", + "scroll_lock": "A13" + }, "processor": "STM32L412", "bootloader": "stm32-dfu", "layouts": { -- cgit v1.2.3