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/vertex/angler2/config.h | 4 ---- keyboards/vertex/angler2/info.json | 5 +++++ keyboards/vertex/arc60/config.h | 3 --- keyboards/vertex/arc60/info.json | 4 ++++ 4 files changed, 9 insertions(+), 7 deletions(-) (limited to 'keyboards/vertex') diff --git a/keyboards/vertex/angler2/config.h b/keyboards/vertex/angler2/config.h index b04493b87b..41531332d5 100644 --- a/keyboards/vertex/angler2/config.h +++ b/keyboards/vertex/angler2/config.h @@ -36,10 +36,6 @@ #define DIODE_DIRECTION COL2ROW -#define LED_CAPS_LOCK_PIN B0 -#define LED_SCROLL_LOCK_PIN B7 -#define LED_PIN_ON_STATE 0 - #define RGB_DI_PIN E6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/vertex/angler2/info.json b/keyboards/vertex/angler2/info.json index 3063fa9f28..3716ddbede 100644 --- a/keyboards/vertex/angler2/info.json +++ b/keyboards/vertex/angler2/info.json @@ -8,6 +8,11 @@ "pid": "0x408F", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B0", + "scroll_lock": "B7", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": [ diff --git a/keyboards/vertex/arc60/config.h b/keyboards/vertex/arc60/config.h index b74bf09003..1146eac722 100644 --- a/keyboards/vertex/arc60/config.h +++ b/keyboards/vertex/arc60/config.h @@ -25,9 +25,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B10, B1, B0, A7, A6 } #define DIODE_DIRECTION COL2ROW -#define LED_CAPS_LOCK_PIN C13 -#define LED_PIN_ON_STATE 0 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/vertex/arc60/info.json b/keyboards/vertex/arc60/info.json index da11e272c1..bfb8e4fc3a 100644 --- a/keyboards/vertex/arc60/info.json +++ b/keyboards/vertex/arc60/info.json @@ -8,6 +8,10 @@ "pid": "0x8370", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C13", + "on_state": 0 + }, "processor": "STM32F103", "bootloader": "stm32duino", "community_layouts": [ -- cgit v1.2.3