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/redscarf_iiplus/verb/config.h | 4 ---- keyboards/redscarf_iiplus/verb/info.json | 5 +++++ keyboards/redscarf_iiplus/verc/config.h | 4 ---- keyboards/redscarf_iiplus/verc/info.json | 5 +++++ keyboards/redscarf_iiplus/verd/config.h | 4 ---- keyboards/redscarf_iiplus/verd/info.json | 5 +++++ 6 files changed, 15 insertions(+), 12 deletions(-) (limited to 'keyboards/redscarf_iiplus') diff --git a/keyboards/redscarf_iiplus/verb/config.h b/keyboards/redscarf_iiplus/verb/config.h index af28efba48..58177ba51b 100755 --- a/keyboards/redscarf_iiplus/verb/config.h +++ b/keyboards/redscarf_iiplus/verb/config.h @@ -39,10 +39,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define LED_NUM_LOCK_PIN E6 -#define LED_CAPS_LOCK_PIN C7 -#define LED_PIN_ON_STATE 0 - #define BACKLIGHT_PIN B7 #define BACKLIGHT_LEVELS 3 diff --git a/keyboards/redscarf_iiplus/verb/info.json b/keyboards/redscarf_iiplus/verb/info.json index 45096a152f..42879d8ee5 100644 --- a/keyboards/redscarf_iiplus/verb/info.json +++ b/keyboards/redscarf_iiplus/verb/info.json @@ -8,6 +8,11 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C7", + "num_lock": "E6", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "layouts": { diff --git a/keyboards/redscarf_iiplus/verc/config.h b/keyboards/redscarf_iiplus/verc/config.h index af28efba48..58177ba51b 100755 --- a/keyboards/redscarf_iiplus/verc/config.h +++ b/keyboards/redscarf_iiplus/verc/config.h @@ -39,10 +39,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define LED_NUM_LOCK_PIN E6 -#define LED_CAPS_LOCK_PIN C7 -#define LED_PIN_ON_STATE 0 - #define BACKLIGHT_PIN B7 #define BACKLIGHT_LEVELS 3 diff --git a/keyboards/redscarf_iiplus/verc/info.json b/keyboards/redscarf_iiplus/verc/info.json index 0a951ade69..fa425fa85d 100644 --- a/keyboards/redscarf_iiplus/verc/info.json +++ b/keyboards/redscarf_iiplus/verc/info.json @@ -8,6 +8,11 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C7", + "num_lock": "E6", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "community_layouts": ["65_ansi"], diff --git a/keyboards/redscarf_iiplus/verd/config.h b/keyboards/redscarf_iiplus/verd/config.h index 27d02b108f..d770eaf812 100644 --- a/keyboards/redscarf_iiplus/verd/config.h +++ b/keyboards/redscarf_iiplus/verd/config.h @@ -38,10 +38,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define LED_NUM_LOCK_PIN E6 -#define LED_CAPS_LOCK_PIN C6 -#define LED_PIN_ON_STATE 0 - #define BACKLIGHT_PIN B7 #define BACKLIGHT_LEVELS 3 diff --git a/keyboards/redscarf_iiplus/verd/info.json b/keyboards/redscarf_iiplus/verd/info.json index 33d210a4f6..74c63bc54f 100644 --- a/keyboards/redscarf_iiplus/verd/info.json +++ b/keyboards/redscarf_iiplus/verd/info.json @@ -8,6 +8,11 @@ "pid": "0x7778", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C6", + "num_lock": "E6", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "halfkay", "layouts": { -- cgit v1.2.3