summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd004
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-20 10:48:38 +1000
committerGitHub <noreply@github.com>2022-08-20 01:48:38 +0100
commit201f1a8f47570c83569d1b0f4851b2fddf996fe7 (patch)
tree9b464f4ea08318d9efa787d92ee6ec4b5f0b70c6 /keyboards/xiudi/xd004
parentf4dcce7e5975276ef41d882a15e6a459b6b3689d (diff)
Move keyboard USB IDs and strings to data driven, pass 2: S-Y (#18093)
Diffstat (limited to 'keyboards/xiudi/xd004')
-rw-r--r--keyboards/xiudi/xd004/info.json6
-rw-r--r--keyboards/xiudi/xd004/v1/config.h8
2 files changed, 6 insertions, 8 deletions
diff --git a/keyboards/xiudi/xd004/info.json b/keyboards/xiudi/xd004/info.json
index 26e418943f..e9876f8c64 100644
--- a/keyboards/xiudi/xd004/info.json
+++ b/keyboards/xiudi/xd004/info.json
@@ -1,6 +1,12 @@
{
"keyboard_name": "XD004",
+ "manufacturer": "XIUDI",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x7844",
+ "pid": "0x0404",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [{"label":"L", "x":0, "y":0}, {"label":"O", "x":1, "y":0}, {"label":"V", "x":2, "y":0}, {"label":"E", "x":3, "y":0}]
diff --git a/keyboards/xiudi/xd004/v1/config.h b/keyboards/xiudi/xd004/v1/config.h
index 826540de4c..81f5830dbc 100644
--- a/keyboards/xiudi/xd004/v1/config.h
+++ b/keyboards/xiudi/xd004/v1/config.h
@@ -25,14 +25,6 @@ where some things are disabled to save space as well.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x7844 // "XD"
-#define PRODUCT_ID 0x0404
-#define DEVICE_VER 0x0001
-// Note: unsure about manufacturer
-#define MANUFACTURER XIUDI
-#define PRODUCT XD004 v1
-
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 4