From a8744b163074457253da2c63affd3b4cceefe04a Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 4 Aug 2022 08:12:37 +1000 Subject: Move keyboard USB IDs and strings to data driven: S (#17889) --- keyboards/sidderskb/majbritt/rev1/config.h | 7 ------- keyboards/sidderskb/majbritt/rev1/info.json | 8 +++++++- keyboards/sidderskb/majbritt/rev2/config.h | 7 ------- keyboards/sidderskb/majbritt/rev2/info.json | 8 +++++++- 4 files changed, 14 insertions(+), 16 deletions(-) (limited to 'keyboards/sidderskb') diff --git a/keyboards/sidderskb/majbritt/rev1/config.h b/keyboards/sidderskb/majbritt/rev1/config.h index a6ccb2221b..cc05bc722d 100644 --- a/keyboards/sidderskb/majbritt/rev1/config.h +++ b/keyboards/sidderskb/majbritt/rev1/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x534B // SB -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0001 -#define MANUFACTURER SiddersKB -#define PRODUCT Majbritt - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 15 diff --git a/keyboards/sidderskb/majbritt/rev1/info.json b/keyboards/sidderskb/majbritt/rev1/info.json index 2677edb794..c337ab9cb1 100644 --- a/keyboards/sidderskb/majbritt/rev1/info.json +++ b/keyboards/sidderskb/majbritt/rev1/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Majbritt", + "keyboard_name": "Majbritt Rev1", + "manufacturer": "SiddersKb", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0x534B", + "pid": "0x0001", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/sidderskb/majbritt/rev2/config.h b/keyboards/sidderskb/majbritt/rev2/config.h index 6bee0fa6bf..ac78a636e3 100644 --- a/keyboards/sidderskb/majbritt/rev2/config.h +++ b/keyboards/sidderskb/majbritt/rev2/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x534B // SB -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0002 -#define MANUFACTURER SiddersKb -#define PRODUCT Majbritt - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 diff --git a/keyboards/sidderskb/majbritt/rev2/info.json b/keyboards/sidderskb/majbritt/rev2/info.json index 3e2aa450ad..9c3af6d1c4 100644 --- a/keyboards/sidderskb/majbritt/rev2/info.json +++ b/keyboards/sidderskb/majbritt/rev2/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "Majbritt Rev2", - "maintainer": "Sleepdealr", + "manufacturer": "SiddersKb", "url": "https://sidderskb.co.uk/", + "maintainer": "Sleepdealr", + "usb": { + "vid": "0x534B", + "pid": "0x0001", + "device_version": "0.0.2" + }, "layouts": { "LAYOUT": { "layout": [ -- cgit v1.2.3