diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 13:14:29 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 13:14:29 +1100 |
commit | f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch) | |
tree | 11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/unicomp | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/unicomp')
10 files changed, 21 insertions, 23 deletions
diff --git a/keyboards/unicomp/classic_ultracl_post_2013/info.json b/keyboards/unicomp/classic_ultracl_post_2013/info.json index e9ff22250e..dee9f85acc 100644 --- a/keyboards/unicomp/classic_ultracl_post_2013/info.json +++ b/keyboards/unicomp/classic_ultracl_post_2013/info.json @@ -8,6 +8,11 @@ "pid": "0x27DB", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C11", + "num_lock": "C12", + "scroll_lock": "C10" + }, "processor": "STM32F446", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/unicomp/classic_ultracl_post_2013/overnumpad_1xb/config.h b/keyboards/unicomp/classic_ultracl_post_2013/overnumpad_1xb/config.h index 31ffeada6d..692e1cba96 100644 --- a/keyboards/unicomp/classic_ultracl_post_2013/overnumpad_1xb/config.h +++ b/keyboards/unicomp/classic_ultracl_post_2013/overnumpad_1xb/config.h @@ -57,8 +57,3 @@ #define SOLENOID_MIN_DWELL 4 #define HAPTIC_OFF_IN_LOW_POWER 1 #define NO_HAPTIC_MOD - -#define LED_NUM_LOCK_PIN C12 -#define LED_CAPS_LOCK_PIN C11 -#define LED_SCROLL_LOCK_PIN C10 -#define LED_ON_STATE 1 diff --git a/keyboards/unicomp/classic_ultracl_pre_2013/info.json b/keyboards/unicomp/classic_ultracl_pre_2013/info.json index e207af78b1..aa28ce85c8 100644 --- a/keyboards/unicomp/classic_ultracl_pre_2013/info.json +++ b/keyboards/unicomp/classic_ultracl_pre_2013/info.json @@ -8,6 +8,11 @@ "pid": "0x27DB", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C11", + "num_lock": "C12", + "scroll_lock": "C10" + }, "processor": "STM32F446", // RET6 "bootloader": "stm32-dfu", "community_layouts": ["fullsize_ansi", "fullsize_iso"], diff --git a/keyboards/unicomp/classic_ultracl_pre_2013/overnumpad_1xb/config.h b/keyboards/unicomp/classic_ultracl_pre_2013/overnumpad_1xb/config.h index 31ffeada6d..692e1cba96 100644 --- a/keyboards/unicomp/classic_ultracl_pre_2013/overnumpad_1xb/config.h +++ b/keyboards/unicomp/classic_ultracl_pre_2013/overnumpad_1xb/config.h @@ -57,8 +57,3 @@ #define SOLENOID_MIN_DWELL 4 #define HAPTIC_OFF_IN_LOW_POWER 1 #define NO_HAPTIC_MOD - -#define LED_NUM_LOCK_PIN C12 -#define LED_CAPS_LOCK_PIN C11 -#define LED_SCROLL_LOCK_PIN C10 -#define LED_ON_STATE 1 diff --git a/keyboards/unicomp/pc122/info.json b/keyboards/unicomp/pc122/info.json index 3d479bfcfb..f1d47ef1b0 100644 --- a/keyboards/unicomp/pc122/info.json +++ b/keyboards/unicomp/pc122/info.json @@ -8,6 +8,11 @@ "pid": "0x27DB", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C11", + "num_lock": "C12", + "scroll_lock": "C10" + }, "processor": "STM32F446", // RET6 "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/unicomp/pc122/overnumpad_1xb/config.h b/keyboards/unicomp/pc122/overnumpad_1xb/config.h index 31ffeada6d..692e1cba96 100644 --- a/keyboards/unicomp/pc122/overnumpad_1xb/config.h +++ b/keyboards/unicomp/pc122/overnumpad_1xb/config.h @@ -57,8 +57,3 @@ #define SOLENOID_MIN_DWELL 4 #define HAPTIC_OFF_IN_LOW_POWER 1 #define NO_HAPTIC_MOD - -#define LED_NUM_LOCK_PIN C12 -#define LED_CAPS_LOCK_PIN C11 -#define LED_SCROLL_LOCK_PIN C10 -#define LED_ON_STATE 1 diff --git a/keyboards/unicomp/spacesaver_m_post_2013/info.json b/keyboards/unicomp/spacesaver_m_post_2013/info.json index 8e3fd6bf74..c484553e89 100644 --- a/keyboards/unicomp/spacesaver_m_post_2013/info.json +++ b/keyboards/unicomp/spacesaver_m_post_2013/info.json @@ -8,6 +8,9 @@ "pid": "0x27DB", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C12" + }, "processor": "STM32F446", // RET6 "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/config.h b/keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/config.h index e00980eb83..692e1cba96 100644 --- a/keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/config.h +++ b/keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/config.h @@ -57,7 +57,3 @@ #define SOLENOID_MIN_DWELL 4 #define HAPTIC_OFF_IN_LOW_POWER 1 #define NO_HAPTIC_MOD - -#define LED_CAPS_LOCK_PIN C12 -#define LED_ON_STATE 1 -// C11 and C10 are also leds, but C11 is not used in this keyboard, and C10 is configured in ${keyboard}.c diff --git a/keyboards/unicomp/spacesaver_m_pre_2013/info.json b/keyboards/unicomp/spacesaver_m_pre_2013/info.json index a1ef9dc2f0..249b33fdd2 100644 --- a/keyboards/unicomp/spacesaver_m_pre_2013/info.json +++ b/keyboards/unicomp/spacesaver_m_pre_2013/info.json @@ -8,6 +8,9 @@ "pid": "0x27DB", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C12" + }, "processor": "STM32F446", // RET6 "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/unicomp/spacesaver_m_pre_2013/overnumpad_1xb/config.h b/keyboards/unicomp/spacesaver_m_pre_2013/overnumpad_1xb/config.h index e00980eb83..692e1cba96 100644 --- a/keyboards/unicomp/spacesaver_m_pre_2013/overnumpad_1xb/config.h +++ b/keyboards/unicomp/spacesaver_m_pre_2013/overnumpad_1xb/config.h @@ -57,7 +57,3 @@ #define SOLENOID_MIN_DWELL 4 #define HAPTIC_OFF_IN_LOW_POWER 1 #define NO_HAPTIC_MOD - -#define LED_CAPS_LOCK_PIN C12 -#define LED_ON_STATE 1 -// C11 and C10 are also leds, but C11 is not used in this keyboard, and C10 is configured in ${keyboard}.c |