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/the_uni/info.json | 5 +++++ keyboards/the_uni/pro_micro/config.h | 7 ------- keyboards/the_uni/pro_micro/info.json | 5 +++++ keyboards/the_uni/usb_c/config.h | 7 ------- keyboards/the_uni/usb_c/info.json | 5 +++++ 5 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 keyboards/the_uni/pro_micro/info.json create mode 100644 keyboards/the_uni/usb_c/info.json (limited to 'keyboards/the_uni') diff --git a/keyboards/the_uni/info.json b/keyboards/the_uni/info.json index a8b5a1b5cc..b7cb80957e 100644 --- a/keyboards/the_uni/info.json +++ b/keyboards/the_uni/info.json @@ -1,7 +1,12 @@ { "keyboard_name": "The Uni", + "manufacturer": "stenokeyboards", "url": "https://www.stenokeyboards.com", "maintainer": "qmk", + "usb": { + "vid": "0x9000", + "pid": "0x0001" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/the_uni/pro_micro/config.h b/keyboards/the_uni/pro_micro/config.h index ff965d7744..1c50e4e685 100644 --- a/keyboards/the_uni/pro_micro/config.h +++ b/keyboards/the_uni/pro_micro/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x9000 -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0001 -#define MANUFACTURER stenokeyboards -#define PRODUCT The Uni - /* key matrix size */ #define MATRIX_ROWS 3 #define MATRIX_COLS 11 diff --git a/keyboards/the_uni/pro_micro/info.json b/keyboards/the_uni/pro_micro/info.json new file mode 100644 index 0000000000..90ac25f360 --- /dev/null +++ b/keyboards/the_uni/pro_micro/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.1" + } +} diff --git a/keyboards/the_uni/usb_c/config.h b/keyboards/the_uni/usb_c/config.h index 3110c0d821..47c494e031 100644 --- a/keyboards/the_uni/usb_c/config.h +++ b/keyboards/the_uni/usb_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 0x9000 -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0002 -#define MANUFACTURER stenokeyboards -#define PRODUCT The Uni - /* key matrix size */ #define MATRIX_ROWS 3 #define MATRIX_COLS 11 diff --git a/keyboards/the_uni/usb_c/info.json b/keyboards/the_uni/usb_c/info.json new file mode 100644 index 0000000000..e557e4d307 --- /dev/null +++ b/keyboards/the_uni/usb_c/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.2" + } +} -- cgit v1.2.1