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/cest73/tkm/config.h | 4 ---- keyboards/cest73/tkm/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'keyboards/cest73') diff --git a/keyboards/cest73/tkm/config.h b/keyboards/cest73/tkm/config.h index 3499e3c015..37c920b2eb 100644 --- a/keyboards/cest73/tkm/config.h +++ b/keyboards/cest73/tkm/config.h @@ -29,10 +29,6 @@ //NOTE: if D6 pin shows any issues in exploatation the LED on the Teensy is to be removed -#define LED_NUM_LOCK_PIN F6 -#define LED_CAPS_LOCK_PIN F5 -#define LED_SCROLL_LOCK_PIN F7 -#define LED_PIN_ON_STATE 0 //TODO change the E6 pin to either B5, B6, B7 or C6 to utilize hardware PWM on a future PCB revision #define BACKLIGHT_PIN E6 diff --git a/keyboards/cest73/tkm/info.json b/keyboards/cest73/tkm/info.json index 03693b7ba6..671cc27d52 100644 --- a/keyboards/cest73/tkm/info.json +++ b/keyboards/cest73/tkm/info.json @@ -8,6 +8,12 @@ "pid": "0xAA55", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "F5", + "num_lock": "F6", + "scroll_lock": "F7", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "halfkay", "layouts": { -- cgit v1.2.3