diff options
author | Ryan <fauxpark@gmail.com> | 2022-07-30 17:31:44 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-30 17:31:44 +1000 |
commit | 2d778d2ff28ed10c43c79783e6c519f00dee1429 (patch) | |
tree | c4535d1c66c573795ac30f601cd1315dc8664824 /keyboards/handwired/m40/5x5_macropad | |
parent | 1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff) |
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/m40/5x5_macropad')
-rw-r--r-- | keyboards/handwired/m40/5x5_macropad/config.h | 7 | ||||
-rw-r--r-- | keyboards/handwired/m40/5x5_macropad/info.json | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/handwired/m40/5x5_macropad/config.h b/keyboards/handwired/m40/5x5_macropad/config.h index 4f71b79d43..935bc3992c 100644 --- a/keyboards/handwired/m40/5x5_macropad/config.h +++ b/keyboards/handwired/m40/5x5_macropad/config.h @@ -5,13 +5,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x0000 -#define DEVICE_VER 0x0001 -#define MANUFACTURER m40 -#define PRODUCT macropad - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 5 diff --git a/keyboards/handwired/m40/5x5_macropad/info.json b/keyboards/handwired/m40/5x5_macropad/info.json index 7d5ae8c6cb..1b0d95bf2d 100644 --- a/keyboards/handwired/m40/5x5_macropad/info.json +++ b/keyboards/handwired/m40/5x5_macropad/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "5x5_macropad", + "manufacturer": "m40", "url": "https://www.thingiverse.com/thing:5239739", "maintainer": "m40-dev", + "usb": { + "vid": "0xFEED", + "pid": "0x0000", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_ortho_5x5": { "layout": [ |