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/sofle/keyhive/config.h | 7 ------- keyboards/sofle/keyhive/info.json | 6 ++++++ keyboards/sofle/rev1/config.h | 7 ------- keyboards/sofle/rev1/info.json | 6 ++++++ 4 files changed, 12 insertions(+), 14 deletions(-) (limited to 'keyboards/sofle') diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h index 93048f3cd1..8663bf8933 100755 --- a/keyboards/sofle/keyhive/config.h +++ b/keyboards/sofle/keyhive/config.h @@ -19,13 +19,6 @@ #pragma once #include "config_common.h" -// USB Device descriptor parameter -#define VENDOR_ID 0xFC32 -#define PRODUCT_ID 0x1287 -#define DEVICE_VER 0x0002 -#define MANUFACTURER Keyhive -#define PRODUCT Sofle - // Key matrix size // Rows are doubled-up. Added extra column for rotary encoder VIA mapping. #define MATRIX_ROWS 10 diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json index aafc6a8c8b..fd15873c42 100644 --- a/keyboards/sofle/keyhive/info.json +++ b/keyboards/sofle/keyhive/info.json @@ -1,5 +1,11 @@ { "keyboard_name": "Sofle", + "manufacturer": "Keyhive", + "usb": { + "vid": "0xFC32", + "pid": "0x1287", + "device_version": "0.0.2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/sofle/rev1/config.h b/keyboards/sofle/rev1/config.h index a34c574326..26d35982df 100644 --- a/keyboards/sofle/rev1/config.h +++ b/keyboards/sofle/rev1/config.h @@ -1,12 +1,5 @@ #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFC32 -#define PRODUCT_ID 0x0287 -#define DEVICE_VER 0x0001 -#define MANUFACTURER JosefAdamcik -#define PRODUCT Sofle - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 10 diff --git a/keyboards/sofle/rev1/info.json b/keyboards/sofle/rev1/info.json index 7673c485bf..00afc505e3 100644 --- a/keyboards/sofle/rev1/info.json +++ b/keyboards/sofle/rev1/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "Sofle", + "manufacturer": "JosefAdamcik", "url": "https://github.com/josefadamcik/SofleKeyboard", "maintainer": "Josef Adamcik ", + "usb": { + "vid": "0xFC32", + "pid": "0x0287", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ -- cgit v1.2.3