From 835c971f78b5d995bb58f0889fac00aac348de52 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 20 Aug 2022 10:39:35 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: J-L (#18080) --- keyboards/keebio/bdn9/info.json | 5 ++++- keyboards/keebio/bdn9/rev1/config.h | 7 ------- keyboards/keebio/bdn9/rev1/info.json | 7 +++++++ keyboards/keebio/bdn9/rev2/config.h | 7 ------- keyboards/keebio/bdn9/rev2/info.json | 7 +++++++ 5 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 keyboards/keebio/bdn9/rev1/info.json create mode 100644 keyboards/keebio/bdn9/rev2/info.json (limited to 'keyboards/keebio/bdn9') diff --git a/keyboards/keebio/bdn9/info.json b/keyboards/keebio/bdn9/info.json index e383395eea..4bb378ea7a 100644 --- a/keyboards/keebio/bdn9/info.json +++ b/keyboards/keebio/bdn9/info.json @@ -1,7 +1,10 @@ { - "keyboard_name": "Keebio BDN9", + "manufacturer": "Keebio", "url": "https://keeb.io", "maintainer": "Keebio", + "usb": { + "vid": "0xCB10" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/keebio/bdn9/rev1/config.h b/keyboards/keebio/bdn9/rev1/config.h index ed5d5953f7..a674477d99 100644 --- a/keyboards/keebio/bdn9/rev1/config.h +++ b/keyboards/keebio/bdn9/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 0xCB10 -#define PRODUCT_ID 0x1133 -#define DEVICE_VER 0x0100 -#define MANUFACTURER Keebio -#define PRODUCT BDN9 Rev. 1 - /* key matrix size */ #define MATRIX_ROWS 3 #define MATRIX_COLS 3 diff --git a/keyboards/keebio/bdn9/rev1/info.json b/keyboards/keebio/bdn9/rev1/info.json new file mode 100644 index 0000000000..768ad3ad9b --- /dev/null +++ b/keyboards/keebio/bdn9/rev1/info.json @@ -0,0 +1,7 @@ +{ + "keyboard_name": "BDN9 Rev. 1", + "usb": { + "pid": "0x1133", + "device_version": "1.0.0" + } +} diff --git a/keyboards/keebio/bdn9/rev2/config.h b/keyboards/keebio/bdn9/rev2/config.h index f9eb3babca..56d6235ec9 100644 --- a/keyboards/keebio/bdn9/rev2/config.h +++ b/keyboards/keebio/bdn9/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 0xCB10 -#define PRODUCT_ID 0x2133 -#define DEVICE_VER 0x0200 -#define MANUFACTURER Keebio -#define PRODUCT BDN9 Rev. 2 - /* key matrix size */ #define MATRIX_ROWS 3 #define MATRIX_COLS 3 diff --git a/keyboards/keebio/bdn9/rev2/info.json b/keyboards/keebio/bdn9/rev2/info.json new file mode 100644 index 0000000000..2a610ba304 --- /dev/null +++ b/keyboards/keebio/bdn9/rev2/info.json @@ -0,0 +1,7 @@ +{ + "keyboard_name": "BDN9 Rev. 2", + "usb": { + "pid": "0x2133", + "device_version": "2.0.0" + } +} -- cgit v1.2.3