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/bpiphany/tiger_lily/config.h | 5 ----- keyboards/bpiphany/tiger_lily/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/bpiphany/tiger_lily') diff --git a/keyboards/bpiphany/tiger_lily/config.h b/keyboards/bpiphany/tiger_lily/config.h index dd4240ef29..cb63e867fc 100644 --- a/keyboards/bpiphany/tiger_lily/config.h +++ b/keyboards/bpiphany/tiger_lily/config.h @@ -38,11 +38,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { C2, B3, B4, B2, B1, C7, B6, B5 } #define MATRIX_COL_PINS { NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN } -#define LED_NUM_LOCK_PIN C5 -#define LED_CAPS_LOCK_PIN C6 -#define LED_SCROLL_LOCK_PIN B7 -#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/bpiphany/tiger_lily/info.json b/keyboards/bpiphany/tiger_lily/info.json index 8b2e19671e..75d126eb50 100644 --- a/keyboards/bpiphany/tiger_lily/info.json +++ b/keyboards/bpiphany/tiger_lily/info.json @@ -8,6 +8,12 @@ "pid": "0x544C", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C6", + "num_lock": "C5", + "scroll_lock": "B7", + "on_state": 0 + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "community_layouts": ["fullsize_ansi"], -- cgit v1.2.3