summaryrefslogtreecommitdiff
path: root/keyboards/unicomp/spacesaver_m_post_2013
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 13:14:29 +1100
committerGitHub <noreply@github.com>2023-02-17 13:14:29 +1100
commitf4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch)
tree11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/unicomp/spacesaver_m_post_2013
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/unicomp/spacesaver_m_post_2013')
-rw-r--r--keyboards/unicomp/spacesaver_m_post_2013/info.json3
-rw-r--r--keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/config.h4
2 files changed, 3 insertions, 4 deletions
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