From 10ad2389442c00c32714f6e9a6766e9e7bdec2c2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 6 Aug 2022 15:49:44 +1000 Subject: Move keyboard USB IDs and strings to data driven: W (#17903) --- keyboards/wekey/polaris/config.h | 7 ------- keyboards/wekey/polaris/info.json | 6 ++++++ keyboards/wekey/we27/config.h | 7 ------- keyboards/wekey/we27/info.json | 8 +++++++- 4 files changed, 13 insertions(+), 15 deletions(-) (limited to 'keyboards/wekey') diff --git a/keyboards/wekey/polaris/config.h b/keyboards/wekey/polaris/config.h index 5902c4bfc9..7df6be2684 100644 --- a/keyboards/wekey/polaris/config.h +++ b/keyboards/wekey/polaris/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x5559 -#define PRODUCT_ID 0x0002 -#define DEVICE_VER 0x0001 -#define MANUFACTURER @wekey -#define PRODUCT Polaris - /* key matrix size */ #define MATRIX_ROWS 10 #define MATRIX_COLS 8 diff --git a/keyboards/wekey/polaris/info.json b/keyboards/wekey/polaris/info.json index 01626101c2..71df14da36 100644 --- a/keyboards/wekey/polaris/info.json +++ b/keyboards/wekey/polaris/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "Polaris", + "manufacturer": "@wekey", "url": "", "maintainer": "@wekey.dev", + "usb": { + "vid": "0x5559", + "pid": "0x0002", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_all": { "layout": [ diff --git a/keyboards/wekey/we27/config.h b/keyboards/wekey/we27/config.h index 9420a4d06a..9d7c298863 100644 --- a/keyboards/wekey/we27/config.h +++ b/keyboards/wekey/we27/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x5559 -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0001 -#define MANUFACTURER @wekey -#define PRODUCT We27 - /* key matrix size */ #define MATRIX_ROWS 6 #define MATRIX_COLS 5 diff --git a/keyboards/wekey/we27/info.json b/keyboards/wekey/we27/info.json index 8e1a8595a0..b299449ff1 100644 --- a/keyboards/wekey/we27/info.json +++ b/keyboards/wekey/we27/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "we27", + "keyboard_name": "We27", + "manufacturer": "@wekey", "url": "", "maintainer": "@wekey.dev", + "usb": { + "vid": "0x5559", + "pid": "0x0001", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_numpad_6x5": { "layout": [ -- cgit v1.2.3