From 51d5aad25b92a34bc051849616fcd93e3ae407fc Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 15 Aug 2022 13:30:12 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: D-E (#17956) --- keyboards/edi/hardlight/mk1/config.h | 7 ------- keyboards/edi/hardlight/mk1/info.json | 9 +++++++++ keyboards/edi/hardlight/mk2/config.h | 7 ------- keyboards/edi/hardlight/mk2/info.json | 9 +++++++++ 4 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 keyboards/edi/hardlight/mk1/info.json create mode 100644 keyboards/edi/hardlight/mk2/info.json (limited to 'keyboards/edi') diff --git a/keyboards/edi/hardlight/mk1/config.h b/keyboards/edi/hardlight/mk1/config.h index be136fe9c9..f8b981ab29 100644 --- a/keyboards/edi/hardlight/mk1/config.h +++ b/keyboards/edi/hardlight/mk1/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xF7E0 -#define PRODUCT_ID 0x2401 -#define DEVICE_VER 0x0000 -#define MANUFACTURER Everywhere Defense Industries -#define PRODUCT Hard Light - /* key matrix size */ #define MATRIX_ROWS 8 #define MATRIX_COLS 8 diff --git a/keyboards/edi/hardlight/mk1/info.json b/keyboards/edi/hardlight/mk1/info.json new file mode 100644 index 0000000000..f0ff1b915f --- /dev/null +++ b/keyboards/edi/hardlight/mk1/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Hard Light", + "manufacturer": "Everywhere Defense Industries", + "usb": { + "vid": "0xF7E0", + "pid": "0x2401", + "device_version": "0.0.1" + } +} diff --git a/keyboards/edi/hardlight/mk2/config.h b/keyboards/edi/hardlight/mk2/config.h index 8580aabec5..2cf9ab9af9 100644 --- a/keyboards/edi/hardlight/mk2/config.h +++ b/keyboards/edi/hardlight/mk2/config.h @@ -17,13 +17,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xF7E0 -#define PRODUCT_ID 0x2408 -#define DEVICE_VER 0x0007 -#define MANUFACTURER Everywhere Defense Industries -#define PRODUCT Hard Light Mk 2 - /* key matrix size */ #define MATRIX_ROWS 8 #define MATRIX_COLS 8 diff --git a/keyboards/edi/hardlight/mk2/info.json b/keyboards/edi/hardlight/mk2/info.json new file mode 100644 index 0000000000..25e9b06d49 --- /dev/null +++ b/keyboards/edi/hardlight/mk2/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Hard Light Mk 2", + "manufacturer": "Everywhere Defense Industries", + "usb": { + "vid": "0xF7E0", + "pid": "0x2408", + "device_version": "0.0.7" + } +} -- cgit v1.2.3