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/tgr/tris/config.h | 6 ------ keyboards/tgr/tris/info.json | 8 +++++++- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'keyboards/tgr/tris') diff --git a/keyboards/tgr/tris/config.h b/keyboards/tgr/tris/config.h index 131add14cd..eed74f07e0 100644 --- a/keyboards/tgr/tris/config.h +++ b/keyboards/tgr/tris/config.h @@ -19,12 +19,6 @@ along with this program. If not, see . #include "config_common.h" -#define VENDOR_ID 0x5447 //TG -#define PRODUCT_ID 0x5452 //TR -#define DEVICE_VER 0x0001 -#define MANUFACTURER TGR -#define PRODUCT Tris - #define MATRIX_ROWS 6 #define MATRIX_COLS 4 diff --git a/keyboards/tgr/tris/info.json b/keyboards/tgr/tris/info.json index c4288ac14b..e557935785 100644 --- a/keyboards/tgr/tris/info.json +++ b/keyboards/tgr/tris/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "TGR Tris", + "keyboard_name": "Tris", + "manufacturer": "TGR", "url": "", "maintainer": "halfenergized", + "usb": { + "vid": "0x5447", + "pid": "0x5452", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_ortho_6x4": { "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1.25}, {"x":1, "y":1.25}, {"x":2, "y":1.25}, {"x":3, "y":1.25}, {"x":0, "y":2.25}, {"x":1, "y":2.25}, {"x":2, "y":2.25}, {"x":3, "y":2.25}, {"x":0, "y":3.25}, {"x":1, "y":3.25}, {"x":2, "y":3.25}, {"x":3, "y":3.25}, {"x":0, "y":4.25}, {"x":1, "y":4.25}, {"x":2, "y":4.25}, {"x":3, "y":4.25}, {"x":0, "y":5.25}, {"x":1, "y":5.25}, {"x":2, "y":5.25}, {"x":3, "y":5.25}] -- cgit v1.2.3