summaryrefslogtreecommitdiff
path: root/keyboards/macro1
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/macro1
parent1b92c204c10594fce6a715710c277a748a4fdc68 (diff)
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/macro1')
-rw-r--r--keyboards/macro1/config.h7
-rw-r--r--keyboards/macro1/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/macro1/config.h b/keyboards/macro1/config.h
index 54203ef2bf..d9ba969b3c 100644
--- a/keyboards/macro1/config.h
+++ b/keyboards/macro1/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4C50 // "LP" = Laneware Peripherals
-#define PRODUCT_ID 0x9999
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Laneware Peripherals
-#define PRODUCT MACRO-1
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 4
diff --git a/keyboards/macro1/info.json b/keyboards/macro1/info.json
index dbb7bafa74..ddb15fb4e3 100644
--- a/keyboards/macro1/info.json
+++ b/keyboards/macro1/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "MACRO1",
+ "keyboard_name": "MACRO-1",
+ "manufacturer": "Laneware Peripherals",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x4C50",
+ "pid": "0x9999",
+ "device_version": "0.0.1"
+ },
"layouts":{
"LAYOUT_numpad":{
"layout":[