summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/ymd40
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-06 18:52:13 +1000
committerGitHub <noreply@github.com>2022-08-06 18:52:13 +1000
commitfb19e140481ecc360737420850d2d84c67a3d047 (patch)
tree85a46a472375c62bca0e25aaf7c309add2da9706 /keyboards/ymdk/ymd40
parent0e3cc6af12ad0337574280f783ee118a79c6ea55 (diff)
downloadqmk_firmware-fb19e140481ecc360737420850d2d84c67a3d047.tar.gz
qmk_firmware-fb19e140481ecc360737420850d2d84c67a3d047.zip
Move keyboard USB IDs and strings to data driven: Y (#17926)
Diffstat (limited to 'keyboards/ymdk/ymd40')
-rw-r--r--keyboards/ymdk/ymd40/v2/config.h7
-rw-r--r--keyboards/ymdk/ymd40/v2/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/ymdk/ymd40/v2/config.h b/keyboards/ymdk/ymd40/v2/config.h
index 0ad5a84718..ac7d5573e8 100644
--- a/keyboards/ymdk/ymd40/v2/config.h
+++ b/keyboards/ymdk/ymd40/v2/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x594D // "YM"
-#define PRODUCT_ID 0x4440 // "D" + 40
-#define DEVICE_VER 0x0001
-#define MANUFACTURER YMDK
-#define PRODUCT YMD40 v2
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12
diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json
index ef6b33a799..b343d2a351 100644
--- a/keyboards/ymdk/ymd40/v2/info.json
+++ b/keyboards/ymdk/ymd40/v2/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "ymd40v2",
+ "keyboard_name": "YMD40 v2",
+ "manufacturer": "YMDK",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x594D",
+ "pid": "0x4440",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_ortho_4x12": {
"layout": [