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/kmac/config.h | 4 ---- keyboards/kmac/info.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/kmac') diff --git a/keyboards/kmac/config.h b/keyboards/kmac/config.h index 5db54daf43..bc647193ca 100644 --- a/keyboards/kmac/config.h +++ b/keyboards/kmac/config.h @@ -35,10 +35,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ //#define DIODE_DIRECTION -#define LED_CAPS_LOCK_PIN B0 -#define LED_SCROLL_LOCK_PIN E6 -#define LED_PIN_ON_STATE 0 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/kmac/info.json b/keyboards/kmac/info.json index b8e5497e28..e22708713a 100644 --- a/keyboards/kmac/info.json +++ b/keyboards/kmac/info.json @@ -7,6 +7,11 @@ "pid": "0x4143", "device_version": "1.0.4" }, + "indicators": { + "caps_lock": "B0", + "scroll_lock": "E6", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["tkl_ansi"], -- cgit v1.2.3