diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 13:14:29 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 13:14:29 +1100 |
commit | f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch) | |
tree | 11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/xelus/xs108 | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/xelus/xs108')
-rw-r--r-- | keyboards/xelus/xs108/config.h | 6 | ||||
-rw-r--r-- | keyboards/xelus/xs108/info.json | 5 |
2 files changed, 5 insertions, 6 deletions
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": { |