summaryrefslogtreecommitdiff
path: root/keyboards/machkeyboards
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/machkeyboards
parent1b92c204c10594fce6a715710c277a748a4fdc68 (diff)
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/machkeyboards')
-rw-r--r--keyboards/machkeyboards/mach3/config.h7
-rw-r--r--keyboards/machkeyboards/mach3/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/machkeyboards/mach3/config.h b/keyboards/machkeyboards/mach3/config.h
index d78f8dce9b..1f3533d177 100644
--- a/keyboards/machkeyboards/mach3/config.h
+++ b/keyboards/machkeyboards/mach3/config.h
@@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4D41
-#define PRODUCT_ID 0x4D33
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MachKeyboard
-#define PRODUCT Mach33
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
diff --git a/keyboards/machkeyboards/mach3/info.json b/keyboards/machkeyboards/mach3/info.json
index 42f29a9873..3eab9a1a3f 100644
--- a/keyboards/machkeyboards/mach3/info.json
+++ b/keyboards/machkeyboards/mach3/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Mach 3",
+ "manufacturer": "MachKeyboard",
"url": "https://machkeyboards.com",
"maintainer": "etiennelepagel",
+ "usb": {
+ "vid": "0x4D41",
+ "pid": "0x4D33",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_3x3": {
"layout": [