summaryrefslogtreecommitdiff
path: root/keyboards/torn
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/torn
parent5a631ed9ac23b58b1e58ba169e58d443ba5fad87 (diff)
Move keyboard USB IDs and strings to data driven: T (#17899)
Diffstat (limited to 'keyboards/torn')
-rw-r--r--keyboards/torn/config.h8
-rw-r--r--keyboards/torn/info.json8
2 files changed, 7 insertions, 9 deletions
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": [