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/mlego/m65/rev2/config.h | 4 ---- keyboards/mlego/m65/rev2/info.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/mlego/m65/rev2') diff --git a/keyboards/mlego/m65/rev2/config.h b/keyboards/mlego/m65/rev2/config.h index d5575d24a9..3c2e877550 100644 --- a/keyboards/mlego/m65/rev2/config.h +++ b/keyboards/mlego/m65/rev2/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -#define LED_NUM_LOCK_PIN B12 -#define LED_SCROLL_LOCK_PIN B13 -#define LED_CAPS_LOCK_PIN B2 - // 0 1 2 3 4 #define MATRIX_ROW_PINS \ { B11, B0, B1, A2, A3 } diff --git a/keyboards/mlego/m65/rev2/info.json b/keyboards/mlego/m65/rev2/info.json index 3e6ef2d0bc..2bde6bdef1 100644 --- a/keyboards/mlego/m65/rev2/info.json +++ b/keyboards/mlego/m65/rev2/info.json @@ -3,6 +3,11 @@ "pid": "0x6061", "device_version": "0.0.2" }, + "indicators": { + "caps_lock": "B2", + "num_lock": "B12", + "scroll_lock": "B13" + }, "processor": "STM32F103", // GD32F303CCT6 "bootloader": "stm32duino" } -- cgit v1.2.3