summaryrefslogtreecommitdiffstats
path: root/keyboards/3w6
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/3w6')
-rw-r--r--keyboards/3w6/info.json5
-rw-r--r--keyboards/3w6/rev1/config.h8
-rw-r--r--keyboards/3w6/rev1/info.json5
-rw-r--r--keyboards/3w6/rev2/config.h8
-rw-r--r--keyboards/3w6/rev2/info.json5
5 files changed, 15 insertions, 16 deletions
diff --git a/keyboards/3w6/info.json b/keyboards/3w6/info.json
index ab463bc60c..d76688bfc1 100644
--- a/keyboards/3w6/info.json
+++ b/keyboards/3w6/info.json
@@ -1,7 +1,12 @@
{
"keyboard_name": "3w6",
+ "manufacturer": "weteor",
"url": "https://github.com/weteor/3W6/",
"maintainer": "weteor",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x4658"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/3w6/rev1/config.h b/keyboards/3w6/rev1/config.h
index 2ec430b4e2..c9b8f8b58e 100644
--- a/keyboards/3w6/rev1/config.h
+++ b/keyboards/3w6/rev1/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x4658
-#define DEVICE_VER 0x0001
-#define MANUFACTURER weteor
-#define PRODUCT 3w6
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 10
diff --git a/keyboards/3w6/rev1/info.json b/keyboards/3w6/rev1/info.json
new file mode 100644
index 0000000000..90ac25f360
--- /dev/null
+++ b/keyboards/3w6/rev1/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "device_version": "0.0.1"
+ }
+}
diff --git a/keyboards/3w6/rev2/config.h b/keyboards/3w6/rev2/config.h
index df68436ff1..c9b8f8b58e 100644
--- a/keyboards/3w6/rev2/config.h
+++ b/keyboards/3w6/rev2/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x4658
-#define DEVICE_VER 0x0002
-#define MANUFACTURER weteor
-#define PRODUCT 3w6
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 10
diff --git a/keyboards/3w6/rev2/info.json b/keyboards/3w6/rev2/info.json
new file mode 100644
index 0000000000..e557e4d307
--- /dev/null
+++ b/keyboards/3w6/rev2/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "device_version": "0.0.2"
+ }
+}