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/bobpad/config.h | 15 --------------- keyboards/bobpad/info.json | 7 +++++++ 2 files changed, 7 insertions(+), 15 deletions(-) (limited to 'keyboards/bobpad') diff --git a/keyboards/bobpad/config.h b/keyboards/bobpad/config.h index dbb6ab9bcb..f24ef916bd 100644 --- a/keyboards/bobpad/config.h +++ b/keyboards/bobpad/config.h @@ -36,20 +36,5 @@ #define DIODE_DIRECTION COL2ROW - - - - -// D4 D0 -// C6 E6 D7 - -#define LED_NUM_LOCK_PIN D4 -#define LED_CAPS_LOCK_PIN D0 -#define LED_SCROLL_LOCK_PIN C6 -#define LED_COMPOSE_PIN E6 -#define LED_KANA_PIN D7 - - - #define ENCODERS_PAD_A { B3 } #define ENCODERS_PAD_B { B2 } \ No newline at end of file diff --git a/keyboards/bobpad/info.json b/keyboards/bobpad/info.json index 35511b2ab9..58f724fbbe 100644 --- a/keyboards/bobpad/info.json +++ b/keyboards/bobpad/info.json @@ -8,6 +8,13 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "D0", + "num_lock": "D4", + "scroll_lock": "C6", + "compose": "E6", + "kana": "D7" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_2x3"], -- cgit v1.2.3