summaryrefslogtreecommitdiff
path: root/keyboards/tgr/tris
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-04 11:35:08 +1000
committerGitHub <noreply@github.com>2022-08-04 02:35:08 +0100
commit17176daf26ae17b8ae54312217555f1bfed782c1 (patch)
tree80f5a9dddc5588fe09964703780423e4cde43013 /keyboards/tgr/tris
parent5a631ed9ac23b58b1e58ba169e58d443ba5fad87 (diff)
Move keyboard USB IDs and strings to data driven: T (#17899)
Diffstat (limited to 'keyboards/tgr/tris')
-rw-r--r--keyboards/tgr/tris/config.h6
-rw-r--r--keyboards/tgr/tris/info.json8
2 files changed, 7 insertions, 7 deletions
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 <http://www.gnu.org/licenses/>.
#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}]