diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-06 18:52:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 18:52:13 +1000 |
commit | fb19e140481ecc360737420850d2d84c67a3d047 (patch) | |
tree | 85a46a472375c62bca0e25aaf7c309add2da9706 /keyboards/yanghu | |
parent | 0e3cc6af12ad0337574280f783ee118a79c6ea55 (diff) | |
download | qmk_firmware-fb19e140481ecc360737420850d2d84c67a3d047.tar.gz qmk_firmware-fb19e140481ecc360737420850d2d84c67a3d047.zip |
Move keyboard USB IDs and strings to data driven: Y (#17926)
Diffstat (limited to 'keyboards/yanghu')
-rw-r--r-- | keyboards/yanghu/unicorne/config.h | 7 | ||||
-rw-r--r-- | keyboards/yanghu/unicorne/info.json | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/yanghu/unicorne/config.h b/keyboards/yanghu/unicorne/config.h index 27d21c7906..749f7f69e4 100644 --- a/keyboards/yanghu/unicorne/config.h +++ b/keyboards/yanghu/unicorne/config.h @@ -18,13 +18,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x0204 -#define DEVICE_VER 0x0001 -#define MANUFACTURER yanghu -#define PRODUCT unicorne - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 12 diff --git a/keyboards/yanghu/unicorne/info.json b/keyboards/yanghu/unicorne/info.json index 995bed8a03..088e072621 100644 --- a/keyboards/yanghu/unicorne/info.json +++ b/keyboards/yanghu/unicorne/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "Unicorne", + "manufacturer": "yanghu", "url": "https://github.com/yanghu/unicorne", "maintainer": "yanghu", + "usb": { + "vid": "0xFEED", + "pid": "0x0204", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_unicorne": { "layout": [ |