summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd87
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/xd87
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/xiudi/xd87')
-rw-r--r--keyboards/xiudi/xd87/config.h1
-rw-r--r--keyboards/xiudi/xd87/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/xiudi/xd87/config.h b/keyboards/xiudi/xd87/config.h
index fd927ba6d8..082512fcdf 100644
--- a/keyboards/xiudi/xd87/config.h
+++ b/keyboards/xiudi/xd87/config.h
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PIN D0
#define BACKLIGHT_LEVELS 3
-#define BACKLIGHT_ON_STATE 0
#define RGB_DI_PIN B7
#ifdef RGB_DI_PIN
diff --git a/keyboards/xiudi/xd87/info.json b/keyboards/xiudi/xd87/info.json
index bf6a9d206e..6503d55bba 100644
--- a/keyboards/xiudi/xd87/info.json
+++ b/keyboards/xiudi/xd87/info.json
@@ -8,6 +8,9 @@
"pid": "0x8787",
"device_version": "0.0.1"
},
+ "backlight": {
+ "on_state": 0
+ },
"indicators": {
"caps_lock": "E2",
"on_state": 0