From 201f1a8f47570c83569d1b0f4851b2fddf996fe7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 20 Aug 2022 10:48:38 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: S-Y (#18093) --- keyboards/yushakobo/navpad/10/info.json | 5 +++++ keyboards/yushakobo/navpad/10/rev0/config.h | 7 ------- keyboards/yushakobo/navpad/10/rev0/info.json | 5 +++++ keyboards/yushakobo/navpad/10/rev1/config.h | 7 ------- keyboards/yushakobo/navpad/10/rev1/info.json | 5 +++++ keyboards/yushakobo/navpad/10_helix_r/config.h | 7 ------- keyboards/yushakobo/navpad/10_helix_r/info.json | 8 +++++++- 7 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 keyboards/yushakobo/navpad/10/rev0/info.json create mode 100644 keyboards/yushakobo/navpad/10/rev1/info.json (limited to 'keyboards/yushakobo') diff --git a/keyboards/yushakobo/navpad/10/info.json b/keyboards/yushakobo/navpad/10/info.json index 370b7623f2..095b6b39eb 100644 --- a/keyboards/yushakobo/navpad/10/info.json +++ b/keyboards/yushakobo/navpad/10/info.json @@ -1,7 +1,12 @@ { "keyboard_name": "navpad 1.0", + "manufacturer": "yushakobo", "url": "https://shop.yushakobo.jp/products/navpad-10", "maintainer": "yushakobo", + "usb": { + "vid": "0x3265", + "pid": "0x0008" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/yushakobo/navpad/10/rev0/config.h b/keyboards/yushakobo/navpad/10/rev0/config.h index 5ebdda599a..9d2906fa30 100644 --- a/keyboards/yushakobo/navpad/10/rev0/config.h +++ b/keyboards/yushakobo/navpad/10/rev0/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x3265 -#define PRODUCT_ID 0x0008 -#define DEVICE_VER 0x0000 -#define MANUFACTURER yushakobo -#define PRODUCT navpad 1.0 - /* key matrix size */ #define MATRIX_ROWS 6 #define MATRIX_COLS 7 diff --git a/keyboards/yushakobo/navpad/10/rev0/info.json b/keyboards/yushakobo/navpad/10/rev0/info.json new file mode 100644 index 0000000000..5baab67dba --- /dev/null +++ b/keyboards/yushakobo/navpad/10/rev0/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.0" + } +} diff --git a/keyboards/yushakobo/navpad/10/rev1/config.h b/keyboards/yushakobo/navpad/10/rev1/config.h index 40bb31b156..65f9944db9 100644 --- a/keyboards/yushakobo/navpad/10/rev1/config.h +++ b/keyboards/yushakobo/navpad/10/rev1/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x3265 -#define PRODUCT_ID 0x0008 -#define DEVICE_VER 0x0001 -#define MANUFACTURER yushakobo -#define PRODUCT "navpad 1.0" - /* key matrix size */ #define MATRIX_ROWS 6 #define MATRIX_COLS 6 diff --git a/keyboards/yushakobo/navpad/10/rev1/info.json b/keyboards/yushakobo/navpad/10/rev1/info.json new file mode 100644 index 0000000000..90ac25f360 --- /dev/null +++ b/keyboards/yushakobo/navpad/10/rev1/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.1" + } +} diff --git a/keyboards/yushakobo/navpad/10_helix_r/config.h b/keyboards/yushakobo/navpad/10_helix_r/config.h index 3d463549df..09809dada9 100644 --- a/keyboards/yushakobo/navpad/10_helix_r/config.h +++ b/keyboards/yushakobo/navpad/10_helix_r/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x3265 -#define PRODUCT_ID 0x0008 -#define DEVICE_VER 0x0001 -#define MANUFACTURER yushakobo -#define PRODUCT "navpad 1.0 with helix keyboard" - /* key matrix size */ #define MATRIX_ROWS 12 #define MATRIX_COLS 7 diff --git a/keyboards/yushakobo/navpad/10_helix_r/info.json b/keyboards/yushakobo/navpad/10_helix_r/info.json index 98e2314c91..e2c44de4da 100644 --- a/keyboards/yushakobo/navpad/10_helix_r/info.json +++ b/keyboards/yushakobo/navpad/10_helix_r/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "navpad 1.0 w/ helix right hand side", + "keyboard_name": "navpad 1.0 with helix keyboard", + "manufacturer": "yushakobo", "url": "", "maintainer": "yushakobo", + "usb": { + "vid": "0x3265", + "pid": "0x0008", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ -- cgit v1.2.1