From 48792b030b754c8b3983a97071db1b09ae6353d4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 20 Aug 2022 10:31:48 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079) --- keyboards/handwired/symmetric70_proto/info.json | 7 ++++++- keyboards/handwired/symmetric70_proto/promicro/config.h | 7 ------- keyboards/handwired/symmetric70_proto/promicro/info.json | 3 +++ keyboards/handwired/symmetric70_proto/proton_c/config.h | 7 ------- keyboards/handwired/symmetric70_proto/proton_c/info.json | 3 +++ 5 files changed, 12 insertions(+), 15 deletions(-) create mode 100644 keyboards/handwired/symmetric70_proto/promicro/info.json create mode 100644 keyboards/handwired/symmetric70_proto/proton_c/info.json (limited to 'keyboards/handwired/symmetric70_proto') diff --git a/keyboards/handwired/symmetric70_proto/info.json b/keyboards/handwired/symmetric70_proto/info.json index 6c70b9d963..36828784c4 100644 --- a/keyboards/handwired/symmetric70_proto/info.json +++ b/keyboards/handwired/symmetric70_proto/info.json @@ -1,7 +1,12 @@ { - "keyboard_name": "symmetric70_proto", + "manufacturer": "mtei", "url": "", "maintainer": "mtei", + "usb": { + "vid": "0xFEED", + "pid": "0x2BE5", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/handwired/symmetric70_proto/promicro/config.h b/keyboards/handwired/symmetric70_proto/promicro/config.h index 570de7039d..d0126a0b81 100644 --- a/keyboards/handwired/symmetric70_proto/promicro/config.h +++ b/keyboards/handwired/symmetric70_proto/promicro/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x2BE5 -#define DEVICE_VER 0x0001 -#define MANUFACTURER mtei -#define PRODUCT Symmetric70 prototype promicro - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 diff --git a/keyboards/handwired/symmetric70_proto/promicro/info.json b/keyboards/handwired/symmetric70_proto/promicro/info.json new file mode 100644 index 0000000000..8ee579cd60 --- /dev/null +++ b/keyboards/handwired/symmetric70_proto/promicro/info.json @@ -0,0 +1,3 @@ +{ + "keyboard_name": "Symmetric70 prototype promicro" +} diff --git a/keyboards/handwired/symmetric70_proto/proton_c/config.h b/keyboards/handwired/symmetric70_proto/proton_c/config.h index 92716a21f6..5f1880d3fc 100644 --- a/keyboards/handwired/symmetric70_proto/proton_c/config.h +++ b/keyboards/handwired/symmetric70_proto/proton_c/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x2BE5 -#define DEVICE_VER 0x0001 -#define MANUFACTURER mtei -#define PRODUCT Symmetric70 prototype proton-c - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 diff --git a/keyboards/handwired/symmetric70_proto/proton_c/info.json b/keyboards/handwired/symmetric70_proto/proton_c/info.json new file mode 100644 index 0000000000..a105f39be6 --- /dev/null +++ b/keyboards/handwired/symmetric70_proto/proton_c/info.json @@ -0,0 +1,3 @@ +{ + "keyboard_name": "Symmetric70 prototype proton-c" +} -- cgit v1.2.1