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/kopibeng/xt8x/config.h | 2 -- keyboards/kopibeng/xt8x/info.json | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'keyboards/kopibeng/xt8x') diff --git a/keyboards/kopibeng/xt8x/config.h b/keyboards/kopibeng/xt8x/config.h index 34aec8f8ca..50a0ac9833 100644 --- a/keyboards/kopibeng/xt8x/config.h +++ b/keyboards/kopibeng/xt8x/config.h @@ -37,8 +37,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define LED_CAPS_LOCK_PIN B3 -#define LED_SCROLL_LOCK_PIN A15 #define INDICATOR_PIN_0 B13 #define RGB_DI_PIN A10 diff --git a/keyboards/kopibeng/xt8x/info.json b/keyboards/kopibeng/xt8x/info.json index efda8a48ef..61c8edb509 100644 --- a/keyboards/kopibeng/xt8x/info.json +++ b/keyboards/kopibeng/xt8x/info.json @@ -8,6 +8,10 @@ "pid": "0x8788", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B3", + "scroll_lock": "A15" + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { -- cgit v1.2.3