summaryrefslogtreecommitdiff
path: root/keyboards/handwired/prkl30
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-20 10:31:48 +1000
committerGitHub <noreply@github.com>2022-08-20 10:31:48 +1000
commit48792b030b754c8b3983a97071db1b09ae6353d4 (patch)
tree2b6d8d40e7ed59a59a41f26de00e4bf4898c02a4 /keyboards/handwired/prkl30
parent39f0fb7beaaf3a1e6ac8d52db0bc51ed786fad17 (diff)
downloadqmk_firmware-48792b030b754c8b3983a97071db1b09ae6353d4.tar.gz
qmk_firmware-48792b030b754c8b3983a97071db1b09ae6353d4.zip
Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079)
Diffstat (limited to 'keyboards/handwired/prkl30')
-rw-r--r--keyboards/handwired/prkl30/feather/config.h7
-rw-r--r--keyboards/handwired/prkl30/info.json8
-rw-r--r--keyboards/handwired/prkl30/promicro/config.h7
3 files changed, 7 insertions, 15 deletions
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