summaryrefslogtreecommitdiff
path: root/keyboards/machine_industries
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:15:43 +1000
committerGitHub <noreply@github.com>2022-08-03 17:15:43 +1000
commit3da6575e2480d46399be01c21270c57420e0f16d (patch)
treef3438c1402e56256dd0c2bdd0775711edae56043 /keyboards/machine_industries
parent1b92c204c10594fce6a715710c277a748a4fdc68 (diff)
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/machine_industries')
-rw-r--r--keyboards/machine_industries/m4_a/config.h7
-rw-r--r--keyboards/machine_industries/m4_a/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/machine_industries/m4_a/config.h b/keyboards/machine_industries/m4_a/config.h
index f27cb8ae5b..d5f02ebffd 100644
--- a/keyboards/machine_industries/m4_a/config.h
+++ b/keyboards/machine_industries/m4_a/config.h
@@ -5,13 +5,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x5241 // "RA"
-#define PRODUCT_ID 0x004A // 4-A
-#define DEVICE_VER 0x0001
-#define MANUFACTURER RAMA WORKS
-#define PRODUCT M4-A
-
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 2
diff --git a/keyboards/machine_industries/m4_a/info.json b/keyboards/machine_industries/m4_a/info.json
index 4a2f03e741..8caf54a4a4 100644
--- a/keyboards/machine_industries/m4_a/info.json
+++ b/keyboards/machine_industries/m4_a/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Rama Works M4-A",
+ "keyboard_name": "M4-A",
+ "manufacturer": "RAMA WORKS",
"url": "http://rama.works",
"maintainer": "naut",
+ "usb": {
+ "vid": "0x5241",
+ "pid": "0x004A",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [