diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-06 18:52:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 18:52:13 +1000 |
commit | fb19e140481ecc360737420850d2d84c67a3d047 (patch) | |
tree | 85a46a472375c62bca0e25aaf7c309add2da9706 /keyboards/yynmt | |
parent | 0e3cc6af12ad0337574280f783ee118a79c6ea55 (diff) |
Move keyboard USB IDs and strings to data driven: Y (#17926)
Diffstat (limited to 'keyboards/yynmt')
-rw-r--r-- | keyboards/yynmt/dozen0/config.h | 7 | ||||
-rw-r--r-- | keyboards/yynmt/dozen0/info.json | 6 | ||||
-rw-r--r-- | keyboards/yynmt/kagamidget/config.h | 7 | ||||
-rw-r--r-- | keyboards/yynmt/kagamidget/info.json | 6 |
4 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/yynmt/dozen0/config.h b/keyboards/yynmt/dozen0/config.h index c63af586e6..e64eba2f06 100644 --- a/keyboards/yynmt/dozen0/config.h +++ b/keyboards/yynmt/dozen0/config.h @@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x04D8 -#define PRODUCT_ID 0xEA4F -#define DEVICE_VER 0x0001 -#define MANUFACTURER yynmt -#define PRODUCT Dozen0 - /* key matrix size */ #define MATRIX_ROWS 1 #define MATRIX_COLS 12 diff --git a/keyboards/yynmt/dozen0/info.json b/keyboards/yynmt/dozen0/info.json index 38e0f38751..364b844246 100644 --- a/keyboards/yynmt/dozen0/info.json +++ b/keyboards/yynmt/dozen0/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "Dozen0", + "manufacturer": "yynmt", "url": "http://yynmt.com", "maintainer": "yynmt", + "usb": { + "vid": "0x04D8", + "pid": "0xEA4F", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/yynmt/kagamidget/config.h b/keyboards/yynmt/kagamidget/config.h index 3a0ddeaf30..59dbe82558 100644 --- a/keyboards/yynmt/kagamidget/config.h +++ b/keyboards/yynmt/kagamidget/config.h @@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x0000 -#define DEVICE_VER 0x0001 -#define MANUFACTURER yynmt -#define PRODUCT KagaMidget - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 12 diff --git a/keyboards/yynmt/kagamidget/info.json b/keyboards/yynmt/kagamidget/info.json index 8899b22054..eaca61afc8 100644 --- a/keyboards/yynmt/kagamidget/info.json +++ b/keyboards/yynmt/kagamidget/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "KagaMidget", + "manufacturer": "yynmt", "url": "http://yynmt.com", "maintainer": "yynmt", + "usb": { + "vid": "0xFEED", + "pid": "0x0000", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ |