From 48792b030b754c8b3983a97071db1b09ae6353d4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 20 Aug 2022 10:31:48 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079) --- keyboards/handwired/prkl30/feather/config.h | 7 ------- keyboards/handwired/prkl30/info.json | 8 +++++++- keyboards/handwired/prkl30/promicro/config.h | 7 ------- 3 files changed, 7 insertions(+), 15 deletions(-) (limited to 'keyboards/handwired/prkl30') diff --git a/keyboards/handwired/prkl30/feather/config.h b/keyboards/handwired/prkl30/feather/config.h index 875b3d7401..e54944ccc6 100644 --- a/keyboards/handwired/prkl30/feather/config.h +++ b/keyboards/handwired/prkl30/feather/config.h @@ -16,13 +16,6 @@ #pragma once #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xE0E0 -#define PRODUCT_ID 0x0030 -#define DEVICE_VER 0x0002 -#define MANUFACTURER Ergorius & Tooni Skyy -#define PRODUCT PRKL30 - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 10 diff --git a/keyboards/handwired/prkl30/info.json b/keyboards/handwired/prkl30/info.json index c558d21794..b122fe3328 100644 --- a/keyboards/handwired/prkl30/info.json +++ b/keyboards/handwired/prkl30/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "prkl30", + "keyboard_name": "PRKL30", + "manufacturer": "Ergorius & Tooni Skyy", "url": "https://github.com/ErkHal/prkl30", "maintainer": "ErkHal", + "usb": { + "vid": "0xE0E0", + "pid": "0x0030", + "device_version": "0.0.2" + }, "layouts": { "LAYOUT_all": { "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0, "w":1.5}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12.25, "y":1, "w":1.25, "h":2}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2, "w":1.25}] diff --git a/keyboards/handwired/prkl30/promicro/config.h b/keyboards/handwired/prkl30/promicro/config.h index d9ccb00314..fd1c3dbe34 100644 --- a/keyboards/handwired/prkl30/promicro/config.h +++ b/keyboards/handwired/prkl30/promicro/config.h @@ -16,13 +16,6 @@ #pragma once #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xE0E0 -#define PRODUCT_ID 0x0030 -#define DEVICE_VER 0x0002 -#define MANUFACTURER Ergorius & Tooni Skyy -#define PRODUCT PRKL30 - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 10 -- cgit v1.2.3