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/durgod/dgk6x/config.h | 3 --- keyboards/durgod/dgk6x/info.json | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'keyboards/durgod/dgk6x') diff --git a/keyboards/durgod/dgk6x/config.h b/keyboards/durgod/dgk6x/config.h index 17364b2af5..98b7bf0dbd 100644 --- a/keyboards/durgod/dgk6x/config.h +++ b/keyboards/durgod/dgk6x/config.h @@ -33,11 +33,8 @@ #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE /* LED indicator pins */ -#define LED_CAPS_LOCK_PIN C4 #define LED_WIN_LOCK_PIN C5 -#define LED_SCROLL_LOCK_PIN A8 #define LED_MR_LOCK_PIN LED_SCROLL_LOCK_PIN -#define LED_PIN_ON_STATE 0 #ifdef RGB_MATRIX_ENABLE // This is a 7-bit address, that gets left-shifted and bit 0 diff --git a/keyboards/durgod/dgk6x/info.json b/keyboards/durgod/dgk6x/info.json index 25d2b3ba76..64f608fde3 100644 --- a/keyboards/durgod/dgk6x/info.json +++ b/keyboards/durgod/dgk6x/info.json @@ -1,4 +1,9 @@ { + "indicators": { + "caps_lock": "C4", + "num_lock": "A8", + "on_state": 0 + }, "processor": "STM32F072", // F070 "bootloader": "stm32-dfu", "board": "DURGOD_STM32_F070" -- cgit v1.2.3