summaryrefslogtreecommitdiffstats
path: root/keyboards/xiudi/xd84
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-21 12:05:40 +1100
committerGitHub <noreply@github.com>2023-02-21 12:05:40 +1100
commit9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (patch)
tree9882c99ab628ff49e60eb43b42ec3bf6ebefe8bd /keyboards/xiudi/xd84
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/xiudi/xd84')
-rw-r--r--keyboards/xiudi/xd84/config.h1
-rw-r--r--keyboards/xiudi/xd84/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/xiudi/xd84/config.h b/keyboards/xiudi/xd84/config.h
index 2c9eaf1b37..6d1024d748 100644
--- a/keyboards/xiudi/xd84/config.h
+++ b/keyboards/xiudi/xd84/config.h
@@ -39,7 +39,6 @@
#define BACKLIGHT_PIN B5
#define BACKLIGHT_LEVELS 10
-#define BACKLIGHT_ON_STATE 0
#define RGB_DI_PIN C7
#define RGBLED_NUM 7
diff --git a/keyboards/xiudi/xd84/info.json b/keyboards/xiudi/xd84/info.json
index c2fc8fc5d6..a4d40e4fcd 100644
--- a/keyboards/xiudi/xd84/info.json
+++ b/keyboards/xiudi/xd84/info.json
@@ -8,6 +8,9 @@
"pid": "0x8484",
"device_version": "0.0.1"
},
+ "backlight": {
+ "on_state": 0
+ },
"indicators": {
"caps_lock": "B6",
"on_state": 0