From 0ff8c4f6fd8cce95d9e96060121208f85b4d02cd Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 6 Aug 2022 18:59:13 +1000 Subject: Move keyboard USB IDs and strings to data driven: Z (#17927) --- keyboards/z12/config.h | 7 ------- keyboards/z12/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'keyboards/z12') diff --git a/keyboards/z12/config.h b/keyboards/z12/config.h index 68aff7acf7..33ba6e7467 100644 --- a/keyboards/z12/config.h +++ b/keyboards/z12/config.h @@ -18,13 +18,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x7A74 -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0001 -#define MANUFACTURER zigotica -#define PRODUCT z12 - #define ENCODERS_PAD_A { B5, B6 } #define ENCODERS_PAD_B { B4, B2 } diff --git a/keyboards/z12/info.json b/keyboards/z12/info.json index 2395401e47..7aa53d9a5c 100644 --- a/keyboards/z12/info.json +++ b/keyboards/z12/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "z12", + "manufacturer": "zigotica", "url": "https://github.com/zigotica/mechanical-keyboards/tree/main/z12", "maintainer": "@zigotica", + "usb": { + "vid": "0x7A74", + "pid": "0x0001", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ -- cgit v1.2.3