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/machkeyboards | |
| parent | 1b92c204c10594fce6a715710c277a748a4fdc68 (diff) | |
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/machkeyboards')
| -rw-r--r-- | keyboards/machkeyboards/mach3/config.h | 7 | ||||
| -rw-r--r-- | keyboards/machkeyboards/mach3/info.json | 6 |
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/>. | |||
| 18 | 18 | ||
| 19 | #include "config_common.h" | 19 | #include "config_common.h" |
| 20 | 20 | ||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x4D41 | ||
| 23 | #define PRODUCT_ID 0x4D33 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER MachKeyboard | ||
| 26 | #define PRODUCT Mach33 | ||
| 27 | |||
| 28 | /* key matrix size */ | 21 | /* key matrix size */ |
| 29 | #define MATRIX_ROWS 3 | 22 | #define MATRIX_ROWS 3 |
| 30 | #define MATRIX_COLS 3 | 23 | #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 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "Mach 3", | 2 | "keyboard_name": "Mach 3", |
| 3 | "manufacturer": "MachKeyboard", | ||
| 3 | "url": "https://machkeyboards.com", | 4 | "url": "https://machkeyboards.com", |
| 4 | "maintainer": "etiennelepagel", | 5 | "maintainer": "etiennelepagel", |
| 6 | "usb": { | ||
| 7 | "vid": "0x4D41", | ||
| 8 | "pid": "0x4D33", | ||
| 9 | "device_version": "0.0.1" | ||
| 10 | }, | ||
| 5 | "layouts": { | 11 | "layouts": { |
| 6 | "LAYOUT_3x3": { | 12 | "LAYOUT_3x3": { |
| 7 | "layout": [ | 13 | "layout": [ |
