summaryrefslogtreecommitdiff
path: root/keyboards/dz60
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/dz60
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/dz60')
-rw-r--r--keyboards/dz60/config.h3
-rw-r--r--keyboards/dz60/info.json4
2 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/dz60/config.h b/keyboards/dz60/config.h
index e2afe825d0..a0e8c06306 100644
--- a/keyboards/dz60/config.h
+++ b/keyboards/dz60/config.h
@@ -21,9 +21,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN B2
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 5
diff --git a/keyboards/dz60/info.json b/keyboards/dz60/info.json
index 5678d5724c..31df22895b 100644
--- a/keyboards/dz60/info.json
+++ b/keyboards/dz60/info.json
@@ -8,6 +8,10 @@
"pid": "0x2260",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B2",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_arrow_split_bs_7u_spc", "60_ansi_arrow", "60_ansi_split_bs_rshift", "60_hhkb", "60_iso", "60_abnt2", "60_tsangan_hhkb"],