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/barleycorn_smd/config.h | 3 --- keyboards/barleycorn_smd/info.json | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'keyboards/barleycorn_smd') diff --git a/keyboards/barleycorn_smd/config.h b/keyboards/barleycorn_smd/config.h index f29e518380..6dcd1d3d40 100644 --- a/keyboards/barleycorn_smd/config.h +++ b/keyboards/barleycorn_smd/config.h @@ -52,9 +52,6 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5 } -#define LED_CAPS_LOCK_PIN B2 -#define LED_NUM_LOCK_PIN B3 - /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/barleycorn_smd/info.json b/keyboards/barleycorn_smd/info.json index f21e03ddba..aca993e1a5 100644 --- a/keyboards/barleycorn_smd/info.json +++ b/keyboards/barleycorn_smd/info.json @@ -7,6 +7,10 @@ "pid": "0x4749", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B2", + "num_lock": "B3" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { -- cgit v1.2.3