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/mechwild/bbs/config.h | 4 ---- keyboards/mechwild/bbs/info.json | 4 ++++ keyboards/mechwild/obe/config.h | 4 ---- keyboards/mechwild/obe/info.json | 4 ++++ keyboards/mechwild/puckbuddy/config.h | 4 ---- keyboards/mechwild/puckbuddy/info.json | 4 ++++ 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'keyboards/mechwild') diff --git a/keyboards/mechwild/bbs/config.h b/keyboards/mechwild/bbs/config.h index 2bc6e9b587..3db3d087cc 100644 --- a/keyboards/mechwild/bbs/config.h +++ b/keyboards/mechwild/bbs/config.h @@ -11,10 +11,6 @@ /* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */ #define DIP_SWITCH_PINS { A0 } -/* status light pins using the on board LED for the blackpill */ -#define LED_CAPS_LOCK_PIN C13 -#define LED_PIN_ON_STATE 0 - /* * Keyboard Matrix Assignments * diff --git a/keyboards/mechwild/bbs/info.json b/keyboards/mechwild/bbs/info.json index 97fc709de9..0adaf90bf7 100644 --- a/keyboards/mechwild/bbs/info.json +++ b/keyboards/mechwild/bbs/info.json @@ -8,6 +8,10 @@ "pid": "0x170E", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C13", + "on_state": 0 + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "board": "BLACKPILL_STM32_F401", diff --git a/keyboards/mechwild/obe/config.h b/keyboards/mechwild/obe/config.h index d3117e1853..ba119cd36f 100644 --- a/keyboards/mechwild/obe/config.h +++ b/keyboards/mechwild/obe/config.h @@ -46,10 +46,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* status light pins */ -#define LED_NUM_LOCK_PIN B8 -#define LED_CAPS_LOCK_PIN B9 - /* RGB settings, uncomment this define to enable RGB */ #define RGB_DI_PIN A0 #ifdef RGB_DI_PIN diff --git a/keyboards/mechwild/obe/info.json b/keyboards/mechwild/obe/info.json index c9dc4add4d..806333a0fa 100644 --- a/keyboards/mechwild/obe/info.json +++ b/keyboards/mechwild/obe/info.json @@ -8,6 +8,10 @@ "pid": "0x1707", "device_version": "2.0.1" }, + "indicators": { + "caps_lock": "B9", + "num_lock": "B8" + }, "bootmagic": { "matrix": [5, 4] }, diff --git a/keyboards/mechwild/puckbuddy/config.h b/keyboards/mechwild/puckbuddy/config.h index bb14fdfb68..306e5b8eef 100644 --- a/keyboards/mechwild/puckbuddy/config.h +++ b/keyboards/mechwild/puckbuddy/config.h @@ -14,10 +14,6 @@ /* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */ #define DIP_SWITCH_PINS { A0 } -/* status light pins using the on board LED for the blackpill */ -#define LED_CAPS_LOCK_PIN C13 -#define LED_PIN_ON_STATE 0 - /* set the tapping term for glidepoint pad to register a tap click */ //#define CIRQUE_PINNACLE_TAPPING_TERM 0 // This is set to 0 to disable it diff --git a/keyboards/mechwild/puckbuddy/info.json b/keyboards/mechwild/puckbuddy/info.json index d8ae46caf3..d0af030ff3 100644 --- a/keyboards/mechwild/puckbuddy/info.json +++ b/keyboards/mechwild/puckbuddy/info.json @@ -8,6 +8,10 @@ "pid": "0x170F", "device_version": "1.0.0" }, + "indicators": { + "caps_lock": "C13", + "on_state": 0 + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "board": "BLACKPILL_STM32_F401", -- cgit v1.2.3