From 17176daf26ae17b8ae54312217555f1bfed782c1 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 4 Aug 2022 11:35:08 +1000 Subject: Move keyboard USB IDs and strings to data driven: T (#17899) --- keyboards/tw40/config.h | 7 ------- keyboards/tw40/info.json | 8 +++++++- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'keyboards/tw40') diff --git a/keyboards/tw40/config.h b/keyboards/tw40/config.h index 67547b247e..57307e218c 100644 --- a/keyboards/tw40/config.h +++ b/keyboards/tw40/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x503D /* "P3D" */ -#define PRODUCT_ID 0x5457 /* "TW" */ -#define DEVICE_VER 0x0001 -#define MANUFACTURER KnoblesseOblige -#define PRODUCT TW40 - #define MATRIX_ROWS 4 #define MATRIX_COLS 14 diff --git a/keyboards/tw40/info.json b/keyboards/tw40/info.json index 13f45e642e..68baf1819b 100644 --- a/keyboards/tw40/info.json +++ b/keyboards/tw40/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Training Wheel 40", + "keyboard_name": "TW40", + "manufacturer": "KnoblesseOblige", "url": "https://p3dstore.com/products/tw40-gb", "maintainer": "KnoblesseOblige", + "usb": { + "vid": "0x503D", + "pid": "0x5457", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_all": { "layout": [ -- cgit v1.2.1