diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-06 18:45:43 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 18:45:43 +1000 |
commit | 0e3cc6af12ad0337574280f783ee118a79c6ea55 (patch) | |
tree | a69abcbc09837237c910631e5059551a05f4e300 /keyboards/xiaomi | |
parent | 64acbcb42a5c38ceedb9e7ba14607e6e6427a92a (diff) |
Move keyboard USB IDs and strings to data driven: X (#17925)
Diffstat (limited to 'keyboards/xiaomi')
-rw-r--r-- | keyboards/xiaomi/mk02/config.h | 7 | ||||
-rw-r--r-- | keyboards/xiaomi/mk02/info.json | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/xiaomi/mk02/config.h b/keyboards/xiaomi/mk02/config.h index 1b029d6b49..93e4b89291 100644 --- a/keyboards/xiaomi/mk02/config.h +++ b/keyboards/xiaomi/mk02/config.h @@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x0B91 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Xiaomi -#define PRODUCT MK02 - /* key matrix size */ #define MATRIX_ROWS 6 #define MATRIX_COLS 17 diff --git a/keyboards/xiaomi/mk02/info.json b/keyboards/xiaomi/mk02/info.json index 6f216802f6..58c3f3cbc3 100644 --- a/keyboards/xiaomi/mk02/info.json +++ b/keyboards/xiaomi/mk02/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Xiaomi MK02", + "keyboard_name": "MK02", + "manufacturer": "Xiaomi", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0xFEED", + "pid": "0x0B91", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_tkl_ansi": { "layout": [ |