diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-15 13:30:12 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 13:30:12 +1000 |
commit | 51d5aad25b92a34bc051849616fcd93e3ae407fc (patch) | |
tree | 9c73ecbf89d0dcc3e2876355b02403816e60950e /keyboards/dztech/dz60rgb_wkl | |
parent | 1027aed83a264d03cf3bbfd4a85ca7d240217b0f (diff) | |
download | qmk_firmware-51d5aad25b92a34bc051849616fcd93e3ae407fc.tar.gz qmk_firmware-51d5aad25b92a34bc051849616fcd93e3ae407fc.zip |
Move keyboard USB IDs and strings to data driven, pass 2: D-E (#17956)
Diffstat (limited to 'keyboards/dztech/dz60rgb_wkl')
-rw-r--r-- | keyboards/dztech/dz60rgb_wkl/info.json | 6 | ||||
-rw-r--r-- | keyboards/dztech/dz60rgb_wkl/v1/config.h | 7 | ||||
-rw-r--r-- | keyboards/dztech/dz60rgb_wkl/v1/info.json | 6 | ||||
-rw-r--r-- | keyboards/dztech/dz60rgb_wkl/v2/config.h | 7 | ||||
-rw-r--r-- | keyboards/dztech/dz60rgb_wkl/v2/info.json | 6 | ||||
-rw-r--r-- | keyboards/dztech/dz60rgb_wkl/v2_1/config.h | 7 | ||||
-rw-r--r-- | keyboards/dztech/dz60rgb_wkl/v2_1/info.json | 6 |
7 files changed, 23 insertions, 22 deletions
diff --git a/keyboards/dztech/dz60rgb_wkl/info.json b/keyboards/dztech/dz60rgb_wkl/info.json index 304c571f22..e5d0b7b962 100644 --- a/keyboards/dztech/dz60rgb_wkl/info.json +++ b/keyboards/dztech/dz60rgb_wkl/info.json @@ -1,7 +1,11 @@ { - "keyboard_name": "dz60rgb_wkl", + "keyboard_name": "DZ60RGB_WKL", + "manufacturer": "DZTECH", "url": "", "maintainer": "dztech", + "usb": { + "vid": "0x445A" + }, "layouts": { "LAYOUT_60_tsangan_hhkb": { "layout": [ diff --git a/keyboards/dztech/dz60rgb_wkl/v1/config.h b/keyboards/dztech/dz60rgb_wkl/v1/config.h index 9af78167ad..4a341e9df9 100644 --- a/keyboards/dztech/dz60rgb_wkl/v1/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v1/config.h @@ -1,12 +1,5 @@ #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x445A -#define PRODUCT_ID 0x1320 -#define DEVICE_VER 0x0001 -#define MANUFACTURER DZTECH -#define PRODUCT DZ60RGB_WKL - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 14 diff --git a/keyboards/dztech/dz60rgb_wkl/v1/info.json b/keyboards/dztech/dz60rgb_wkl/v1/info.json new file mode 100644 index 0000000000..767be04f31 --- /dev/null +++ b/keyboards/dztech/dz60rgb_wkl/v1/info.json @@ -0,0 +1,6 @@ +{ + "usb": { + "pid": "0x1320", + "device_version": "1.0.0" + } +} diff --git a/keyboards/dztech/dz60rgb_wkl/v2/config.h b/keyboards/dztech/dz60rgb_wkl/v2/config.h index 140d74fee0..bd4ca27e24 100644 --- a/keyboards/dztech/dz60rgb_wkl/v2/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v2/config.h @@ -1,12 +1,5 @@ #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x445A -#define PRODUCT_ID 0x1321 -#define DEVICE_VER 0x0002 -#define MANUFACTURER DZTECH -#define PRODUCT DZ60RGB_WKL - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 14 diff --git a/keyboards/dztech/dz60rgb_wkl/v2/info.json b/keyboards/dztech/dz60rgb_wkl/v2/info.json new file mode 100644 index 0000000000..ee69be3b5a --- /dev/null +++ b/keyboards/dztech/dz60rgb_wkl/v2/info.json @@ -0,0 +1,6 @@ +{ + "usb": { + "pid": "0x1321", + "device_version": "2.0.0" + } +} diff --git a/keyboards/dztech/dz60rgb_wkl/v2_1/config.h b/keyboards/dztech/dz60rgb_wkl/v2_1/config.h index 3ab221391e..1088863891 100644 --- a/keyboards/dztech/dz60rgb_wkl/v2_1/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v2_1/config.h @@ -16,13 +16,6 @@ #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x445A -#define PRODUCT_ID 0x1321 -#define DEVICE_VER 0x0003 -#define MANUFACTURER DZTECH -#define PRODUCT DZ60RGB_WKL - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 14 diff --git a/keyboards/dztech/dz60rgb_wkl/v2_1/info.json b/keyboards/dztech/dz60rgb_wkl/v2_1/info.json new file mode 100644 index 0000000000..3b2b23e989 --- /dev/null +++ b/keyboards/dztech/dz60rgb_wkl/v2_1/info.json @@ -0,0 +1,6 @@ +{ + "usb": { + "pid": "0x1321", + "device_version": "2.1.0" + } +} |