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/evyd13/wonderland/config.h | 5 ----- keyboards/evyd13/wonderland/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/evyd13/wonderland') diff --git a/keyboards/evyd13/wonderland/config.h b/keyboards/evyd13/wonderland/config.h index d1a5d43d63..972a0e2e5f 100644 --- a/keyboards/evyd13/wonderland/config.h +++ b/keyboards/evyd13/wonderland/config.h @@ -31,11 +31,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define LED_NUM_LOCK_PIN B1 -#define LED_CAPS_LOCK_PIN B2 -#define LED_SCROLL_LOCK_PIN B3 -#define LED_PIN_ON_STATE 0 - /* Backlight configuration */ #define RGB_DI_PIN B7 diff --git a/keyboards/evyd13/wonderland/info.json b/keyboards/evyd13/wonderland/info.json index 34aee4c6c9..99672acb74 100644 --- a/keyboards/evyd13/wonderland/info.json +++ b/keyboards/evyd13/wonderland/info.json @@ -8,6 +8,12 @@ "pid": "0xA71C", "device_version": "0.0.3" }, + "indicators": { + "caps_lock": "B2", + "num_lock": "B1", + "scroll_lock": "B3", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "community_layouts": ["alice", "alice_split_bs"], -- cgit v1.2.3