summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd002
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/xiudi/xd002
parent64acbcb42a5c38ceedb9e7ba14607e6e6427a92a (diff)
Move keyboard USB IDs and strings to data driven: X (#17925)
Diffstat (limited to 'keyboards/xiudi/xd002')
-rw-r--r--keyboards/xiudi/xd002/config.h7
-rw-r--r--keyboards/xiudi/xd002/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/xiudi/xd002/config.h b/keyboards/xiudi/xd002/config.h
index c17d816cfc..46896531a9 100644
--- a/keyboards/xiudi/xd002/config.h
+++ b/keyboards/xiudi/xd002/config.h
@@ -17,13 +17,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x7844 // "XD"
-#define PRODUCT_ID 0x0202
-#define DEVICE_VER 0x0001
-#define MANUFACTURER XIUDI
-#define PRODUCT XD002
-
/* matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 2
diff --git a/keyboards/xiudi/xd002/info.json b/keyboards/xiudi/xd002/info.json
index 0ef0e8f21a..f06e823a88 100644
--- a/keyboards/xiudi/xd002/info.json
+++ b/keyboards/xiudi/xd002/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "xd002",
+ "keyboard_name": "XD002",
+ "manufacturer": "XIUDI",
"url": "https://kprepublic.com/products/xd002-xiudi-2-custom-mechanical-keyboard-2-keys-underglow-and-switch-rgb-pcb-programmed-hot-swappable-macro-key-aluminum-case",
"maintainer": "zvecr",
+ "usb": {
+ "vid": "0x7844",
+ "pid": "0x0202",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [