summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd84pro
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/xd84pro
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/xiudi/xd84pro')
-rw-r--r--keyboards/xiudi/xd84pro/config.h1
-rw-r--r--keyboards/xiudi/xd84pro/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/xiudi/xd84pro/config.h b/keyboards/xiudi/xd84pro/config.h
index 3349dd7be2..f9b059ef56 100644
--- a/keyboards/xiudi/xd84pro/config.h
+++ b/keyboards/xiudi/xd84pro/config.h
@@ -44,7 +44,6 @@
#define BACKLIGHT_PIN F5
#define BACKLIGHT_LEVELS 10
-#define BACKLIGHT_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/xiudi/xd84pro/info.json b/keyboards/xiudi/xd84pro/info.json
index 315515dbde..87f1549c57 100644
--- a/keyboards/xiudi/xd84pro/info.json
+++ b/keyboards/xiudi/xd84pro/info.json
@@ -8,6 +8,9 @@
"pid": "0x8450",
"device_version": "0.0.1"
},
+ "backlight": {
+ "on_state": 0
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0