From a30c1884c7ccbdc5a454cedbed61f465f6c275ba Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 4 Aug 2022 08:53:46 +1000 Subject: Move keyboard USB IDs and strings to data driven: U (#17900) --- keyboards/unikeyboard/divergetm2/config.h | 7 ------- keyboards/unikeyboard/divergetm2/info.json | 8 +++++++- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'keyboards/unikeyboard/divergetm2') diff --git a/keyboards/unikeyboard/divergetm2/config.h b/keyboards/unikeyboard/divergetm2/config.h index ee8372aa7e..bfebd4563a 100644 --- a/keyboards/unikeyboard/divergetm2/config.h +++ b/keyboards/unikeyboard/divergetm2/config.h @@ -19,13 +19,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x1256 -#define DEVICE_VER 0x0001 -#define MANUFACTURER UniKeyboard -#define PRODUCT diverge tm2 - /* key matrix size */ #define MATRIX_ROWS 8 #define MATRIX_COLS 6 diff --git a/keyboards/unikeyboard/divergetm2/info.json b/keyboards/unikeyboard/divergetm2/info.json index fc64e57906..4d707c944c 100644 --- a/keyboards/unikeyboard/divergetm2/info.json +++ b/keyboards/unikeyboard/divergetm2/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "UniKeyboard Diverge TM 2", + "keyboard_name": "Diverge TM 2", + "manufacturer": "UniKeyboard", "url": "", "maintainer": "islandman93, xton", + "usb": { + "vid": "0xFEED", + "pid": "0x1256", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ -- cgit v1.2.3