From 30796913913c0f6dc0cce317ad8249de2b602294 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 14 Aug 2022 10:47:05 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941) --- keyboards/4pplet/waffling60/info.json | 5 ++++- keyboards/4pplet/waffling60/rev_a/config.h | 7 ------- keyboards/4pplet/waffling60/rev_a/info.json | 7 +++++++ keyboards/4pplet/waffling60/rev_b/config.h | 7 ------- keyboards/4pplet/waffling60/rev_b/info.json | 7 +++++++ keyboards/4pplet/waffling60/rev_c/config.h | 7 ------- keyboards/4pplet/waffling60/rev_c/info.json | 7 +++++++ 7 files changed, 25 insertions(+), 22 deletions(-) create mode 100644 keyboards/4pplet/waffling60/rev_a/info.json create mode 100644 keyboards/4pplet/waffling60/rev_b/info.json create mode 100644 keyboards/4pplet/waffling60/rev_c/info.json (limited to 'keyboards/4pplet/waffling60') diff --git a/keyboards/4pplet/waffling60/info.json b/keyboards/4pplet/waffling60/info.json index 0ff2c1f7e8..9e4f081ddc 100644 --- a/keyboards/4pplet/waffling60/info.json +++ b/keyboards/4pplet/waffling60/info.json @@ -1,7 +1,10 @@ { - "keyboard_name": "Waffling60 Rev A", + "manufacturer": "4pplet", "url": "https://github.com/4pplet/waffling60", "maintainer": "4pplet", + "usb": { + "vid": "0x4444" + }, "layouts": { "LAYOUT_all": { "layout": [ diff --git a/keyboards/4pplet/waffling60/rev_a/config.h b/keyboards/4pplet/waffling60/rev_a/config.h index 33279d67a7..5b5066859c 100644 --- a/keyboards/4pplet/waffling60/rev_a/config.h +++ b/keyboards/4pplet/waffling60/rev_a/config.h @@ -2,13 +2,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4444 -#define PRODUCT_ID 0x0003 -#define DEVICE_VER 0x0001 -#define MANUFACTURER 4pplet -#define PRODUCT waffling60 Rev A - /* key matrix size */ #define MATRIX_ROWS 6 #define MATRIX_COLS 11 diff --git a/keyboards/4pplet/waffling60/rev_a/info.json b/keyboards/4pplet/waffling60/rev_a/info.json new file mode 100644 index 0000000000..6d4bf31f32 --- /dev/null +++ b/keyboards/4pplet/waffling60/rev_a/info.json @@ -0,0 +1,7 @@ +{ + "keyboard_name": "Waffling60 Rev A", + "usb": { + "pid": "0x0003", + "device_version": "0.0.1" + } +} diff --git a/keyboards/4pplet/waffling60/rev_b/config.h b/keyboards/4pplet/waffling60/rev_b/config.h index eb9882d738..69d9a485c5 100644 --- a/keyboards/4pplet/waffling60/rev_b/config.h +++ b/keyboards/4pplet/waffling60/rev_b/config.h @@ -18,13 +18,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4444 -#define PRODUCT_ID 0x0005 -#define DEVICE_VER 0x0002 -#define MANUFACTURER 4pplet -#define PRODUCT waffling60 Rev B - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 14 diff --git a/keyboards/4pplet/waffling60/rev_b/info.json b/keyboards/4pplet/waffling60/rev_b/info.json new file mode 100644 index 0000000000..1e0075d47b --- /dev/null +++ b/keyboards/4pplet/waffling60/rev_b/info.json @@ -0,0 +1,7 @@ +{ + "keyboard_name": "Waffling60 Rev B", + "usb": { + "pid": "0x0005", + "device_version": "0.0.2" + } +} diff --git a/keyboards/4pplet/waffling60/rev_c/config.h b/keyboards/4pplet/waffling60/rev_c/config.h index e1862f4c0e..6afdcced5b 100644 --- a/keyboards/4pplet/waffling60/rev_c/config.h +++ b/keyboards/4pplet/waffling60/rev_c/config.h @@ -18,13 +18,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4444 -#define PRODUCT_ID 0x0008 -#define DEVICE_VER 0x0003 -#define MANUFACTURER 4pplet -#define PRODUCT waffling60 Rev C - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 14 diff --git a/keyboards/4pplet/waffling60/rev_c/info.json b/keyboards/4pplet/waffling60/rev_c/info.json new file mode 100644 index 0000000000..5af681f27a --- /dev/null +++ b/keyboards/4pplet/waffling60/rev_c/info.json @@ -0,0 +1,7 @@ +{ + "keyboard_name": "Waffling60 Rev C", + "usb": { + "pid": "0x0008", + "device_version": "0.0.3" + } +} -- cgit v1.2.3