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/dqz11n1g/config.h | 4 ---- keyboards/handwired/dqz11n1g/info.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/handwired/dqz11n1g') diff --git a/keyboards/handwired/dqz11n1g/config.h b/keyboards/handwired/dqz11n1g/config.h index cd12f0d250..bd609c9082 100644 --- a/keyboards/handwired/dqz11n1g/config.h +++ b/keyboards/handwired/dqz11n1g/config.h @@ -31,10 +31,6 @@ along with this program. If not, see . /* Column read via SPI (shift register) */ /* #define MATRIX_COL_PINS { } */ -#define LED_CAPS_LOCK_PIN F7 /* A0 */ -#define LED_NUM_LOCK_PIN F5 /*A2 */ -#define LED_SCROLL_LOCK_PIN F4 /*A3 */ - #define LED_FUN_LOCK_PIN F6 /* A1 (handled in layer_state_set_user()) */ /* audio config */ diff --git a/keyboards/handwired/dqz11n1g/info.json b/keyboards/handwired/dqz11n1g/info.json index 039362f5b8..c72310a1e8 100644 --- a/keyboards/handwired/dqz11n1g/info.json +++ b/keyboards/handwired/dqz11n1g/info.json @@ -8,6 +8,11 @@ "pid": "0x4451", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "F7", + "num_lock": "F5", + "scroll_lock": "F4" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { -- cgit v1.2.3