summary refs log tree commit diff
path: root/keyboards/edc40
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-30 17:23:55 +1000
committerGitHub <noreply@github.com>2022-07-30 17:23:55 +1000
commit1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (patch)
tree85e8ebcbca0307c6dcd4e243d6a4187fd82d0552 /keyboards/edc40
parentda07e7dd0e173ed83cb82f84f143de36ed1aeae3 (diff)
Move keyboard USB IDs and strings to data driven: E (#17815)
Diffstat (limited to 'keyboards/edc40')
-rw-r--r--keyboards/edc40/config.h7
-rw-r--r--keyboards/edc40/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/edc40/config.h b/keyboards/edc40/config.h
index be6cba5138..8e47136e6b 100644
--- a/keyboards/edc40/config.h
+++ b/keyboards/edc40/config.h
@@ -17,13 +17,6 @@
 
 #include "config_common.h"
 
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4F4A // "OJ"
-#define PRODUCT_ID 0x0002
-#define DEVICE_VER 0x0001
-#define MANUFACTURER OJ
-#define PRODUCT edc40
-
 #define MATRIX_ROWS 4
 #define MATRIX_COLS 11
 
diff --git a/keyboards/edc40/info.json b/keyboards/edc40/info.json
index ae66ec2297..43b79f6a90 100644
--- a/keyboards/edc40/info.json
+++ b/keyboards/edc40/info.json
@@ -1,7 +1,13 @@
 {
     "keyboard_name": "edc40",
+    "manufacturer": "OJ",
     "url": "",
     "maintainer": "ojthetiny",
+    "usb": {
+        "vid": "0x4F4A",
+        "pid": "0x0002",
+        "device_version": "0.0.1"
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [