diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-03 17:15:43 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 17:15:43 +1000 |
commit | 3da6575e2480d46399be01c21270c57420e0f16d (patch) | |
tree | f3438c1402e56256dd0c2bdd0775711edae56043 /keyboards/mechbrewery | |
parent | 1b92c204c10594fce6a715710c277a748a4fdc68 (diff) | |
download | qmk_firmware-3da6575e2480d46399be01c21270c57420e0f16d.tar.gz qmk_firmware-3da6575e2480d46399be01c21270c57420e0f16d.zip |
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/mechbrewery')
-rw-r--r-- | keyboards/mechbrewery/mb65h/config.h | 7 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65h/info.json | 8 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/config.h | 7 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/info.json | 8 |
4 files changed, 14 insertions, 16 deletions
diff --git a/keyboards/mechbrewery/mb65h/config.h b/keyboards/mechbrewery/mb65h/config.h index 5f7e78e32d..3715e66c98 100644 --- a/keyboards/mechbrewery/mb65h/config.h +++ b/keyboards/mechbrewery/mb65h/config.h @@ -19,13 +19,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4252 //BR -#define PRODUCT_ID 0x0002 //hotswap -#define DEVICE_VER 0x0001 -#define MANUFACTURER MechBrewery -#define PRODUCT MB65H - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 diff --git a/keyboards/mechbrewery/mb65h/info.json b/keyboards/mechbrewery/mb65h/info.json index 82469e7031..87c07f44dc 100644 --- a/keyboards/mechbrewery/mb65h/info.json +++ b/keyboards/mechbrewery/mb65h/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "mb65h", + "keyboard_name": "MB65H", + "manufacturer": "MechBrewery", "url": "", "maintainer": "AnthonyNguyen168", + "usb": { + "vid": "0x4252", + "pid": "0x0002", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_65_ansi_blocker": { diff --git a/keyboards/mechbrewery/mb65s/config.h b/keyboards/mechbrewery/mb65s/config.h index be4deb08b5..c3c90f53e6 100644 --- a/keyboards/mechbrewery/mb65s/config.h +++ b/keyboards/mechbrewery/mb65s/config.h @@ -19,13 +19,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4252 //BR -#define PRODUCT_ID 0x3635 //65 -#define DEVICE_VER 0x0001 -#define MANUFACTURER MechBrewery -#define PRODUCT MB65S - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 diff --git a/keyboards/mechbrewery/mb65s/info.json b/keyboards/mechbrewery/mb65s/info.json index 49d1a9be96..3ad4c7b2c2 100644 --- a/keyboards/mechbrewery/mb65s/info.json +++ b/keyboards/mechbrewery/mb65s/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "mb65s", + "keyboard_name": "MB65S", + "manufacturer": "MechBrewery", "url": "", "maintainer": "AnthonyNguyen168", + "usb": { + "vid": "0x4252", + "pid": "0x3635", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_all": { "layout": [ |