summaryrefslogtreecommitdiff
path: root/keyboards/m10a
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/m10a
parent1b92c204c10594fce6a715710c277a748a4fdc68 (diff)
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/m10a')
-rw-r--r--keyboards/m10a/config.h7
-rw-r--r--keyboards/m10a/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/m10a/config.h b/keyboards/m10a/config.h
index e09942f93a..a04f8e4025 100644
--- a/keyboards/m10a/config.h
+++ b/keyboards/m10a/config.h
@@ -20,13 +20,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x5241 // "RA"
-#define PRODUCT_ID 0x00AA // 10-A
-#define DEVICE_VER 0x0001
-#define MANUFACTURER RAMA WORKS
-#define PRODUCT RAMA WORKS M10-A
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 3
diff --git a/keyboards/m10a/info.json b/keyboards/m10a/info.json
index c4d82f13ab..49a8477623 100644
--- a/keyboards/m10a/info.json
+++ b/keyboards/m10a/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Rama Works X Machine Industries M10-A Macropad",
+ "keyboard_name": "M10-A",
+ "manufacturer": "RAMA WORKS",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x5241",
+ "pid": "0x00AA",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [