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/handwired/sono1/stm32f103/config.h | 6 ------ keyboards/handwired/sono1/stm32f103/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'keyboards/handwired/sono1/stm32f103') diff --git a/keyboards/handwired/sono1/stm32f103/config.h b/keyboards/handwired/sono1/stm32f103/config.h index ec0ddfbe05..b961eaffd6 100644 --- a/keyboards/handwired/sono1/stm32f103/config.h +++ b/keyboards/handwired/sono1/stm32f103/config.h @@ -21,11 +21,5 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A5, B3, A9, A10, B13, B14, B15, A8, B7, B8, B9, C13, A15, A0, A1 } #define MATRIX_COL_PINS { A4, A3, B11, B10, B1, B0, A7, A6 } - -#define LED_KANA_PIN A2 -#define LED_CAPS_LOCK_PIN B5 #define LED_CTRL_XFER_PIN B6 -#define LED_NUM_LOCK_PIN B4 #define LED_KB_LOCK_PIN B12 -#define LED_PIN_ON_STATE 0 - diff --git a/keyboards/handwired/sono1/stm32f103/info.json b/keyboards/handwired/sono1/stm32f103/info.json index 241cf5e9a2..b25392382a 100644 --- a/keyboards/handwired/sono1/stm32f103/info.json +++ b/keyboards/handwired/sono1/stm32f103/info.json @@ -2,6 +2,12 @@ "usb": { "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B5", + "num_lock": "B4", + "kana": "A2", + "on_state": 0 + }, "processor": "STM32F103", "bootloader": "stm32duino" } -- cgit v1.2.3