summaryrefslogtreecommitdiff
path: root/keyboards/h0oni
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-28 23:12:40 +1000
committerGitHub <noreply@github.com>2022-07-28 14:12:40 +0100
commit920f9837677749541b88b02ecb245539943140e2 (patch)
treeef2d2162ccb7302a208983956e1771e1af918ee6 /keyboards/h0oni
parente7affd05417a48b1e5c0948a24034227384a5d13 (diff)
downloadqmk_firmware-920f9837677749541b88b02ecb245539943140e2.tar.gz
qmk_firmware-920f9837677749541b88b02ecb245539943140e2.zip
Move keyboard USB IDs and strings to data driven: H (#17821)
Diffstat (limited to 'keyboards/h0oni')
-rw-r--r--keyboards/h0oni/deskpad/config.h7
-rw-r--r--keyboards/h0oni/deskpad/info.json6
-rw-r--r--keyboards/h0oni/hotduck/config.h7
-rw-r--r--keyboards/h0oni/hotduck/info.json6
4 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/h0oni/deskpad/config.h b/keyboards/h0oni/deskpad/config.h
index c5c8054ca1..d01487a5f7 100644
--- a/keyboards/h0oni/deskpad/config.h
+++ b/keyboards/h0oni/deskpad/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4D53
-#define PRODUCT_ID 0x4450 //hD
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Hydrogen
-#define PRODUCT Deskpad
-
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3
diff --git a/keyboards/h0oni/deskpad/info.json b/keyboards/h0oni/deskpad/info.json
index b5622d578f..d02a5b0012 100644
--- a/keyboards/h0oni/deskpad/info.json
+++ b/keyboards/h0oni/deskpad/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Deskpad",
+ "manufacturer": "Hydrogen",
"url": "",
"maintainer": "Hydrogen BD",
+ "usb": {
+ "vid": "0x4D53",
+ "pid": "0x4450",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [{"label":"k1", "x":0, "y":0},
diff --git a/keyboards/h0oni/hotduck/config.h b/keyboards/h0oni/hotduck/config.h
index 9865f5d303..5ee44e4e23 100644
--- a/keyboards/h0oni/hotduck/config.h
+++ b/keyboards/h0oni/hotduck/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4D53
-#define PRODUCT_ID 0x6844 //hD
-#define DEVICE_VER 0x0001
-#define MANUFACTURER h0oni
-#define PRODUCT hotDuck
-
/* key matrix size */
#define MATRIX_ROWS 7
#define MATRIX_COLS 10
diff --git a/keyboards/h0oni/hotduck/info.json b/keyboards/h0oni/hotduck/info.json
index 32e4ae7c2f..29f6471600 100644
--- a/keyboards/h0oni/hotduck/info.json
+++ b/keyboards/h0oni/hotduck/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "hotDuck",
+ "manufacturer": "h0oni",
"url": "",
"maintainer": "h0oni",
+ "usb": {
+ "vid": "0x4D53",
+ "pid": "0x6844",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [{"label":"Esc", "x":0, "y":0},