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/torn/config.h | 8 -------- keyboards/torn/info.json | 8 +++++++- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'keyboards/torn') diff --git a/keyboards/torn/config.h b/keyboards/torn/config.h index 6cd6c2808e..a7043112e7 100644 --- a/keyboards/torn/config.h +++ b/keyboards/torn/config.h @@ -19,14 +19,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -/* VID & PID from vusb project, see tmk_core/protocol/vusb/USB-IDs-for-free.txt"*/ -#define VENDOR_ID 0x7274 -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0000 -#define MANUFACTURER richard.titmuss -#define PRODUCT Torn - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 12 diff --git a/keyboards/torn/info.json b/keyboards/torn/info.json index 8c35427570..26e6ade034 100644 --- a/keyboards/torn/info.json +++ b/keyboards/torn/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Torn / Split Through Hole", + "keyboard_name": "Torn", + "manufacturer": "richard.titmuss", "url": "https://github.com/rtitmuss/torn", "maintainer": "rtitmuss", + "usb": { + "vid": "0x7274", + "pid": "0x0001", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_split_3x6_4": { "layout": [ -- cgit v1.2.3