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/atlas/config.h | 5 ----- keyboards/pearlboards/atlas/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/pearlboards/atlas') diff --git a/keyboards/pearlboards/atlas/config.h b/keyboards/pearlboards/atlas/config.h index 5a5c2b5fdf..0414097f31 100644 --- a/keyboards/pearlboards/atlas/config.h +++ b/keyboards/pearlboards/atlas/config.h @@ -76,11 +76,6 @@ along with this program. If not, see . #define RGBLIGHT_SLEEP #endif -/* Indicator Led's*/ -#define LED_CAPS_LOCK_PIN F4 -#define LED_NUM_LOCK_PIN F5 -#define LED_SCROLL_LOCK_PIN F6 -#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/atlas/info.json b/keyboards/pearlboards/atlas/info.json index 9c28399c90..31cf97aa4e 100644 --- a/keyboards/pearlboards/atlas/info.json +++ b/keyboards/pearlboards/atlas/info.json @@ -8,6 +8,12 @@ "pid": "0x6964", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "F4", + "num_lock": "F5", + "scroll_lock": "F6", + "on_state": 0 + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { -- cgit v1.2.3