diff options
author | Joel Challis <git@zvecr.com> | 2024-03-14 10:21:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 21:21:33 +1100 |
commit | aea414fd828964c13301191b88a56174f85fad8d (patch) | |
tree | d5146df46f06f5fa3b526013a0a382e9ad2ef14f /keyboards/xiudi/xd004/v1 | |
parent | f1a279810fbab3b5d5c4cfa0b4146cf042dae3bb (diff) | |
download | qmk_firmware-aea414fd828964c13301191b88a56174f85fad8d.tar.gz qmk_firmware-aea414fd828964c13301191b88a56174f85fad8d.zip |
Migrate content where only parent info.json exists (#22895)
Diffstat (limited to 'keyboards/xiudi/xd004/v1')
-rw-r--r-- | keyboards/xiudi/xd004/v1/keyboard.json | 57 | ||||
-rw-r--r-- | keyboards/xiudi/xd004/v1/rules.mk | 15 |
2 files changed, 57 insertions, 15 deletions
diff --git a/keyboards/xiudi/xd004/v1/keyboard.json b/keyboards/xiudi/xd004/v1/keyboard.json new file mode 100644 index 0000000000..a6211edfec --- /dev/null +++ b/keyboards/xiudi/xd004/v1/keyboard.json @@ -0,0 +1,57 @@ +{ + "keyboard_name": "XD004", + "manufacturer": "XIUDI", + "maintainer": "qmk", + "usb": { + "vid": "0x7844", + "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 + }, + "rgblight": { + "hue_steps": 10, + "led_count": 2, + "animations": { + "rainbow_swirl": true, + "static_gradient": true + } + }, + "ws2812": { + "pin": "C6" + }, + "processor": "atmega16u2", + "bootloader": "atmel-dfu", + "matrix_pins": { + "direct": [ + ["D3", "D0", "C4", "B4"] + ] + }, + "layout_aliases": { + "LAYOUT_all": "LAYOUT_ortho_1x4" + }, + "layouts": { + "LAYOUT_ortho_1x4": { + "layout": [ + {"label": "L", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "O", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "V", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "E", "matrix": [0, 3], "x": 3, "y": 0} + ] + } + } +} 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 |