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/mt/mt980/config.h | 5 ----- keyboards/mt/mt980/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/mt/mt980') diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h index c4693ff3db..ce455b4f78 100644 --- a/keyboards/mt/mt980/config.h +++ b/keyboards/mt/mt980/config.h @@ -12,11 +12,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define LED_NUM_LOCK_PIN C6 -#define LED_CAPS_LOCK_PIN C7 -#define LED_SCROLL_LOCK_PIN B5 -#define LED_PIN_ON_STATE 0 - #define BACKLIGHT_PIN B6 #ifdef BACKLIGHT_PIN #define BACKLIGHT_LEVELS 3 diff --git a/keyboards/mt/mt980/info.json b/keyboards/mt/mt980/info.json index 4a29ee943d..e1c9f2758f 100644 --- a/keyboards/mt/mt980/info.json +++ b/keyboards/mt/mt980/info.json @@ -8,6 +8,12 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C7", + "num_lock": "C6", + "scroll_lock": "B5", + "on_state": 0 + }, "bootmagic": { "matrix": [5, 0] }, -- cgit v1.2.3