summaryrefslogtreecommitdiff
path: root/keyboards/dztech
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/dztech
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/dztech')
-rw-r--r--keyboards/dztech/dz96/config.h5
-rw-r--r--keyboards/dztech/dz96/info.json6
-rw-r--r--keyboards/dztech/endless80/config.h3
-rw-r--r--keyboards/dztech/endless80/info.json4
4 files changed, 10 insertions, 8 deletions
diff --git a/keyboards/dztech/dz96/config.h b/keyboards/dztech/dz96/config.h
index fb4fce2ff9..308452213b 100644
--- a/keyboards/dztech/dz96/config.h
+++ b/keyboards/dztech/dz96/config.h
@@ -28,10 +28,5 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define LED_NUM_LOCK_PIN B0
-#define LED_CAPS_LOCK_PIN B2
-#define LED_SCROLL_LOCK_PIN B1
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 5
diff --git a/keyboards/dztech/dz96/info.json b/keyboards/dztech/dz96/info.json
index afb69f12aa..acfe51859e 100644
--- a/keyboards/dztech/dz96/info.json
+++ b/keyboards/dztech/dz96/info.json
@@ -8,6 +8,12 @@
"pid": "0xDB96",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B2",
+ "num_lock": "B0",
+ "scroll_lock": "B1",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/dztech/endless80/config.h b/keyboards/dztech/endless80/config.h
index c7ec70e315..0f523067d5 100644
--- a/keyboards/dztech/endless80/config.h
+++ b/keyboards/dztech/endless80/config.h
@@ -21,9 +21,6 @@
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, C6, C7, F5, F4, F1, F0 }
#define DIODE_DIRECTION COL2ROW
-#define LED_PIN_ON_STATE 0
-#define LED_CAPS_LOCK_PIN E6
-
#define RGB_DI_PIN F7
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/dztech/endless80/info.json b/keyboards/dztech/endless80/info.json
index 28daf1b97e..eb80943837 100644
--- a/keyboards/dztech/endless80/info.json
+++ b/keyboards/dztech/endless80/info.json
@@ -8,6 +8,10 @@
"pid": "0x1015",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "E6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi", "tkl_ansi_tsangan"],