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/coarse/cordillera/config.h | 5 ----- keyboards/coarse/cordillera/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/coarse/cordillera') diff --git a/keyboards/coarse/cordillera/config.h b/keyboards/coarse/cordillera/config.h index 9d680e19bf..f648e5f15f 100644 --- a/keyboards/coarse/cordillera/config.h +++ b/keyboards/coarse/cordillera/config.h @@ -25,11 +25,6 @@ along with this program. If not, see . #define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 } #define DIODE_DIRECTION COL2ROW -#define LED_NUM_LOCK_PIN B0 -#define LED_CAPS_LOCK_PIN A1 -#define LED_SCROLL_LOCK_PIN A0 -#define LED_PIN_ON_STATE 0 - #define BACKLIGHT_PIN A8 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 1 diff --git a/keyboards/coarse/cordillera/info.json b/keyboards/coarse/cordillera/info.json index 53187917a1..3d968ab84d 100644 --- a/keyboards/coarse/cordillera/info.json +++ b/keyboards/coarse/cordillera/info.json @@ -8,6 +8,12 @@ "pid": "0x1401", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "A1", + "num_lock": "B0", + "scroll_lock": "A0", + "on_state": 0 + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "community_layouts": ["alice", "alice_split_bs"], -- cgit v1.2.3