summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd68
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/xd68
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/xiudi/xd68')
-rw-r--r--keyboards/xiudi/xd68/config.h2
-rw-r--r--keyboards/xiudi/xd68/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/xiudi/xd68/config.h b/keyboards/xiudi/xd68/config.h
index 920ceb356f..d1e69102e1 100644
--- a/keyboards/xiudi/xd68/config.h
+++ b/keyboards/xiudi/xd68/config.h
@@ -37,8 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PIN F5
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 6
-#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/xd68/info.json b/keyboards/xiudi/xd68/info.json
index 4f1977ae12..5163e03127 100644
--- a/keyboards/xiudi/xd68/info.json
+++ b/keyboards/xiudi/xd68/info.json
@@ -8,6 +8,9 @@
"pid": "0x6868",
"device_version": "0.0.1"
},
+ "backlight": {
+ "on_state": 0
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0