aboutsummaryrefslogtreecommitdiff
path: root/keyboards/xiudi
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-14 10:21:33 +0000
committerGitHub <[email protected]>2024-03-14 21:21:33 +1100
commitaea414fd828964c13301191b88a56174f85fad8d (patch)
treed5146df46f06f5fa3b526013a0a382e9ad2ef14f /keyboards/xiudi
parentf1a279810fbab3b5d5c4cfa0b4146cf042dae3bb (diff)
downloadqmk_firmware-aea414fd828964c13301191b88a56174f85fad8d.tar.gz
qmk_firmware-aea414fd828964c13301191b88a56174f85fad8d.zip
Migrate content where only parent info.json exists (#22895)
Diffstat (limited to 'keyboards/xiudi')
-rw-r--r--keyboards/xiudi/xd004/v1/keyboard.json (renamed from keyboards/xiudi/xd004/info.json)12
-rw-r--r--keyboards/xiudi/xd004/v1/rules.mk15
2 files changed, 12 insertions, 15 deletions
diff --git a/keyboards/xiudi/xd004/info.json b/keyboards/xiudi/xd004/v1/keyboard.json
index 531283c78a..a6211edfec 100644
--- a/keyboards/xiudi/xd004/info.json
+++ b/keyboards/xiudi/xd004/v1/keyboard.json
@@ -7,6 +7,18 @@
"pid": "0x0404",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "space_cadet": false
+ },
"backlight": {
"pin": "D5",
"levels": 6
diff --git a/keyboards/xiudi/xd004/v1/rules.mk b/keyboards/xiudi/xd004/v1/rules.mk
deleted file mode 100644
index f5f2138436..0000000000
--- a/keyboards/xiudi/xd004/v1/rules.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-AUDIO_ENABLE = no # Audio output
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
-SPACE_CADET_ENABLE = no
-# Saves about 5% of space:
-LTO_ENABLE = yes