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/pearlboards/pearl/config.h | 5 ----- keyboards/pearlboards/pearl/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/pearlboards/pearl') diff --git a/keyboards/pearlboards/pearl/config.h b/keyboards/pearlboards/pearl/config.h index dc79825104..7b10ff7fab 100644 --- a/keyboards/pearlboards/pearl/config.h +++ b/keyboards/pearlboards/pearl/config.h @@ -71,11 +71,6 @@ along with this program. If not, see . # define RGBLIGHT_SLEEP #endif -/* Indicator Led's*/ -#define LED_CAPS_LOCK_PIN B0 -#define LED_NUM_LOCK_PIN B1 -#define LED_SCROLL_LOCK_PIN B2 -#define LED_PIN_ON_STATE 0 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/pearlboards/pearl/info.json b/keyboards/pearlboards/pearl/info.json index b7d6d2a591..f6082c1d37 100644 --- a/keyboards/pearlboards/pearl/info.json +++ b/keyboards/pearlboards/pearl/info.json @@ -8,6 +8,12 @@ "pid": "0x6965", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B0", + "num_lock": "B1", + "scroll_lock": "B2", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "debounce": 4, -- cgit v1.2.3