summaryrefslogtreecommitdiff
path: root/keyboards/yandrstudio
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/yandrstudio
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/yandrstudio')
-rw-r--r--keyboards/yandrstudio/zhou65/config.h3
-rw-r--r--keyboards/yandrstudio/zhou65/info.json4
2 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/yandrstudio/zhou65/config.h b/keyboards/yandrstudio/zhou65/config.h
index b4da724d11..3c205e2570 100644
--- a/keyboards/yandrstudio/zhou65/config.h
+++ b/keyboards/yandrstudio/zhou65/config.h
@@ -27,8 +27,5 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define LED_CAPS_LOCK_PIN A15
-#define LED_PIN_ON_STATE 0
-
/* enable the nkro when using the VIA. */
#define FORCE_NKRO
diff --git a/keyboards/yandrstudio/zhou65/info.json b/keyboards/yandrstudio/zhou65/info.json
index 313a0dd3b3..d3c36ca852 100644
--- a/keyboards/yandrstudio/zhou65/info.json
+++ b/keyboards/yandrstudio/zhou65/info.json
@@ -4,6 +4,10 @@
"pid": "0xAAAD",
"device_version": "1.0.0"
},
+ "indicators": {
+ "caps_lock": "A15",
+ "on_state": 0
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"layouts": {