summaryrefslogtreecommitdiffstats
path: root/keyboards/wuque/promise87
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/wuque/promise87
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/wuque/promise87')
-rw-r--r--keyboards/wuque/promise87/ansi/config.h3
-rw-r--r--keyboards/wuque/promise87/ansi/info.json4
-rw-r--r--keyboards/wuque/promise87/wkl/config.h3
-rw-r--r--keyboards/wuque/promise87/wkl/info.json4
4 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/wuque/promise87/ansi/config.h b/keyboards/wuque/promise87/ansi/config.h
index cc846fdf69..7c98bb27f8 100644
--- a/keyboards/wuque/promise87/ansi/config.h
+++ b/keyboards/wuque/promise87/ansi/config.h
@@ -26,9 +26,6 @@
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN F6
-#define LED_PIN_ON_STATE 0
-
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 1
diff --git a/keyboards/wuque/promise87/ansi/info.json b/keyboards/wuque/promise87/ansi/info.json
index eeecf46b34..cd9b8b4d63 100644
--- a/keyboards/wuque/promise87/ansi/info.json
+++ b/keyboards/wuque/promise87/ansi/info.json
@@ -8,6 +8,10 @@
"pid": "0x0005",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "F6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
diff --git a/keyboards/wuque/promise87/wkl/config.h b/keyboards/wuque/promise87/wkl/config.h
index cc846fdf69..7c98bb27f8 100644
--- a/keyboards/wuque/promise87/wkl/config.h
+++ b/keyboards/wuque/promise87/wkl/config.h
@@ -26,9 +26,6 @@
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN F6
-#define LED_PIN_ON_STATE 0
-
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 1
diff --git a/keyboards/wuque/promise87/wkl/info.json b/keyboards/wuque/promise87/wkl/info.json
index fcf2d5514c..0a0e3b0bc5 100644
--- a/keyboards/wuque/promise87/wkl/info.json
+++ b/keyboards/wuque/promise87/wkl/info.json
@@ -8,6 +8,10 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "F6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {