summaryrefslogtreecommitdiff
path: root/keyboards/3w6
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-14 10:47:05 +1000
committerGitHub <noreply@github.com>2022-08-13 17:47:05 -0700
commit30796913913c0f6dc0cce317ad8249de2b602294 (patch)
tree74c69b26ecb9c9923b3e5b8b4c9b9904741ed6d0 /keyboards/3w6
parent0f1bb982e97f0779e2885970f5e4677dbb555926 (diff)
downloadqmk_firmware-30796913913c0f6dc0cce317ad8249de2b602294.tar.gz
qmk_firmware-30796913913c0f6dc0cce317ad8249de2b602294.zip
Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)
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 0c14dc72d3..50c7ad68a5 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 4101aa76cd..50c7ad68a5 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"
+ }
+}