summaryrefslogtreecommitdiff
path: root/keyboards/hub20
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/hub20
parente7affd05417a48b1e5c0948a24034227384a5d13 (diff)
Move keyboard USB IDs and strings to data driven: H (#17821)
Diffstat (limited to 'keyboards/hub20')
-rw-r--r--keyboards/hub20/config.h7
-rw-r--r--keyboards/hub20/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/hub20/config.h b/keyboards/hub20/config.h
index aca3d7acce..24bcdb0061 100644
--- a/keyboards/hub20/config.h
+++ b/keyboards/hub20/config.h
@@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x6A6A // JJ
-#define PRODUCT_ID 0x4414 // H20
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Josh Johnson
-#define PRODUCT Hub20
-
/* key matrix */
#define MATRIX_ROWS 6
#define MATRIX_COLS 4
diff --git a/keyboards/hub20/info.json b/keyboards/hub20/info.json
index 2b44836728..3f829a3c7b 100644
--- a/keyboards/hub20/info.json
+++ b/keyboards/hub20/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Hub20",
+ "manufacturer": "Josh Johnson",
"url": "https://github.com/joshajohnson/hub20",
"maintainer": "joshajohnson",
+ "usb": {
+ "vid": "0x6A6A",
+ "pid": "0x4414",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [