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/lets_split/info.json | 1 - keyboards/lets_split/rev1/config.h | 7 ------- keyboards/lets_split/rev1/info.json | 9 +++++++++ keyboards/lets_split/rev2/config.h | 7 ------- keyboards/lets_split/rev2/info.json | 9 +++++++++ keyboards/lets_split/sockets/config.h | 7 ------- keyboards/lets_split/sockets/info.json | 9 +++++++++ 7 files changed, 27 insertions(+), 22 deletions(-) create mode 100644 keyboards/lets_split/rev1/info.json create mode 100644 keyboards/lets_split/rev2/info.json create mode 100644 keyboards/lets_split/sockets/info.json (limited to 'keyboards/lets_split') diff --git a/keyboards/lets_split/info.json b/keyboards/lets_split/info.json index aa47a84834..0bb8f31219 100644 --- a/keyboards/lets_split/info.json +++ b/keyboards/lets_split/info.json @@ -1,5 +1,4 @@ { - "keyboard_name": "Let's Split", "url": "", "maintainer": "qmk", "layouts": { diff --git a/keyboards/lets_split/rev1/config.h b/keyboards/lets_split/rev1/config.h index fc9e348a86..77b0c3b095 100644 --- a/keyboards/lets_split/rev1/config.h +++ b/keyboards/lets_split/rev1/config.h @@ -18,13 +18,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x3060 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Wootpatoot -#define PRODUCT Lets Split v1 - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 8 diff --git a/keyboards/lets_split/rev1/info.json b/keyboards/lets_split/rev1/info.json new file mode 100644 index 0000000000..ae781da15f --- /dev/null +++ b/keyboards/lets_split/rev1/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Lets Split v1", + "manufacturer": "Wootpatoot", + "usb": { + "vid": "0xFEED", + "pid": "0x3060", + "device_version": "0.0.1" + } +} diff --git a/keyboards/lets_split/rev2/config.h b/keyboards/lets_split/rev2/config.h index 7d8dff4f2f..6fbfaba982 100644 --- a/keyboards/lets_split/rev2/config.h +++ b/keyboards/lets_split/rev2/config.h @@ -18,13 +18,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x6F77 -#define PRODUCT_ID 0x0002 -#define DEVICE_VER 0x0002 -#define MANUFACTURER Wootpatoot -#define PRODUCT Lets Split v2 - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 8 diff --git a/keyboards/lets_split/rev2/info.json b/keyboards/lets_split/rev2/info.json new file mode 100644 index 0000000000..fd9960697b --- /dev/null +++ b/keyboards/lets_split/rev2/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Lets Split v2", + "manufacturer": "Wootpatoot", + "usb": { + "vid": "0x6F77", + "pid": "0x0002", + "device_version": "0.0.2" + } +} diff --git a/keyboards/lets_split/sockets/config.h b/keyboards/lets_split/sockets/config.h index 70cbc18cd5..0adf933032 100644 --- a/keyboards/lets_split/sockets/config.h +++ b/keyboards/lets_split/sockets/config.h @@ -18,13 +18,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x0BEE -#define DEVICE_VER 0x0001 -#define MANUFACTURER Duckle29 -#define PRODUCT Lets Split Sockets - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 8 diff --git a/keyboards/lets_split/sockets/info.json b/keyboards/lets_split/sockets/info.json new file mode 100644 index 0000000000..700fffb622 --- /dev/null +++ b/keyboards/lets_split/sockets/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Lets Split Sockets", + "manufacturer": "Duckle29", + "usb": { + "vid": "0xFEED", + "pid": "0x0BEE", + "device_version": "0.0.1" + } +} -- cgit v1.2.1