summaryrefslogtreecommitdiff
path: root/keyboards/x16
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-06 18:45:43 +1000
committerGitHub <noreply@github.com>2022-08-06 18:45:43 +1000
commit0e3cc6af12ad0337574280f783ee118a79c6ea55 (patch)
treea69abcbc09837237c910631e5059551a05f4e300 /keyboards/x16
parent64acbcb42a5c38ceedb9e7ba14607e6e6427a92a (diff)
Move keyboard USB IDs and strings to data driven: X (#17925)
Diffstat (limited to 'keyboards/x16')
-rw-r--r--keyboards/x16/config.h7
-rw-r--r--keyboards/x16/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/x16/config.h b/keyboards/x16/config.h
index 8378880d08..c46a035718 100644
--- a/keyboards/x16/config.h
+++ b/keyboards/x16/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4B50
-#define PRODUCT_ID 0x016A
-#define DEVICE_VER 0x0001
-#define MANUFACTURER yinxianwei
-#define PRODUCT x16
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 4
diff --git a/keyboards/x16/info.json b/keyboards/x16/info.json
index 742777648d..a006269af0 100644
--- a/keyboards/x16/info.json
+++ b/keyboards/x16/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "x16",
+ "manufacturer": "yinxianwei",
"url": "",
"maintainer": "yinxianwei",
+ "usb": {
+ "vid": "0x4B50",
+ "pid": "0x016A",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_ortho_4x4": {
"layout": [