summaryrefslogtreecommitdiff
path: root/keyboards/xiaomi/mk02
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-08-06 08:46:12 +0000
committerQMK Bot <hello@qmk.fm>2022-08-06 08:46:12 +0000
commitcac704241404908794514b7a534e58c96aff4d6b (patch)
tree6c6bb9fe1fd2a46322924ae4dc25a708c1f27137 /keyboards/xiaomi/mk02
parent1d45c993557013c6ed9e8f94fb222e0950f00afd (diff)
parent0e3cc6af12ad0337574280f783ee118a79c6ea55 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/xiaomi/mk02')
-rw-r--r--keyboards/xiaomi/mk02/config.h7
-rw-r--r--keyboards/xiaomi/mk02/info.json8
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": [