summaryrefslogtreecommitdiff
path: root/keyboards/4by3
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-03-14 10:54:49 +1100
committerGitHub <noreply@github.com>2022-03-13 23:54:49 +0000
commitc0f417911703738b3ede14b87be5c4a39db07016 (patch)
treef828fc66a81cad7d79def8399af9fc932fa3a9fb /keyboards/4by3
parentdf3770551a4dcbf8188a16453dd64fe1787f83d8 (diff)
Move keyboard USB IDs and strings to data driven: 0-9 (#16481)
Diffstat (limited to 'keyboards/4by3')
-rw-r--r--keyboards/4by3/config.h7
-rw-r--r--keyboards/4by3/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/4by3/config.h b/keyboards/4by3/config.h
index daaafb02a6..27ad7441cc 100644
--- a/keyboards/4by3/config.h
+++ b/keyboards/4by3/config.h
@@ -2,13 +2,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEEEE
-#define PRODUCT_ID 0x2019
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Elias Sjögreen
-#define PRODUCT 4by3
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 4
diff --git a/keyboards/4by3/info.json b/keyboards/4by3/info.json
index 50f7c44b4f..24a2b3d34a 100644
--- a/keyboards/4by3/info.json
+++ b/keyboards/4by3/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "4by3",
+ "manufacturer": "Elias Sjögreen",
"url": "https://github.com/eliassjogreen/4by3",
"maintainer": "eliassjogreen",
+ "usb": {
+ "vid": "0xEEEE",
+ "pid": "0x2019",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_horizontal": {
"layout": [