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/the_royal/liminal/config.h | 7 ------- keyboards/the_royal/liminal/info.json | 8 +++++++- keyboards/the_royal/schwann/config.h | 7 ------- keyboards/the_royal/schwann/info.json | 8 +++++++- 4 files changed, 14 insertions(+), 16 deletions(-) (limited to 'keyboards/the_royal') diff --git a/keyboards/the_royal/liminal/config.h b/keyboards/the_royal/liminal/config.h index 9e3dadce3d..f24759f4db 100644 --- a/keyboards/the_royal/liminal/config.h +++ b/keyboards/the_royal/liminal/config.h @@ -2,13 +2,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4B4B -#define PRODUCT_ID 0x0003 -#define DEVICE_VER 0x0001 -#define MANUFACTURER TheRoyalSweatshirt -#define PRODUCT Liminal - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 14 diff --git a/keyboards/the_royal/liminal/info.json b/keyboards/the_royal/liminal/info.json index b42337a740..d6f25ee6fe 100644 --- a/keyboards/the_royal/liminal/info.json +++ b/keyboards/the_royal/liminal/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "liminal", + "keyboard_name": "Liminal", + "manufacturer": "TheRoyalSweatshirt", "url": "", "maintainer": "TheRoyalSweatshirt", + "usb": { + "vid": "0x4B4B", + "pid": "0x0003", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_base_kit_all": { "layout": [ diff --git a/keyboards/the_royal/schwann/config.h b/keyboards/the_royal/schwann/config.h index 955771c793..5ea20a5e00 100644 --- a/keyboards/the_royal/schwann/config.h +++ b/keyboards/the_royal/schwann/config.h @@ -2,13 +2,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x3521 -#define DEVICE_VER 0x0001 -#define MANUFACTURER TheRoyalSweatshirt -#define PRODUCT The Schwann PCB - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 12 diff --git a/keyboards/the_royal/schwann/info.json b/keyboards/the_royal/schwann/info.json index 96814fb1ee..a072970a38 100644 --- a/keyboards/the_royal/schwann/info.json +++ b/keyboards/the_royal/schwann/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Schwann's PCB", + "keyboard_name": "The Schwann PCB", + "manufacturer": "TheRoyalSweatshirt", "url": "https://github.com/TheRoyalSweatshirt/The_Royal_Projects/tree/schwann/PCBs/Schwann_PCB", "maintainer": "TheRoyalSweatshirt", + "usb": { + "vid": "0xFEED", + "pid": "0x3521", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_mit": { "layout": [ -- cgit v1.2.3