diff options
author | Ryan <fauxpark@gmail.com> | 2022-07-28 05:19:09 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 20:19:09 +0100 |
commit | 4a0eb733acf2efb66473046f174ad695f746ab24 (patch) | |
tree | 8662d104890776533554f8b91ad569b66bbbb581 /keyboards/gkeyboard/gkb_m16 | |
parent | c788857b6bfc150defce4579a9e946e5744f0d5a (diff) |
Move keyboard USB IDs and strings to data driven: G (#17818)
Diffstat (limited to 'keyboards/gkeyboard/gkb_m16')
-rw-r--r-- | keyboards/gkeyboard/gkb_m16/config.h | 6 | ||||
-rw-r--r-- | keyboards/gkeyboard/gkb_m16/info.json | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/gkeyboard/gkb_m16/config.h b/keyboards/gkeyboard/gkb_m16/config.h index 690ecf42d1..3e89084879 100644 --- a/keyboards/gkeyboard/gkb_m16/config.h +++ b/keyboards/gkeyboard/gkb_m16/config.h @@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x474B // "GK" -#define PRODUCT_ID 0x4201 -#define DEVICE_VER 0x0001 -#define MANUFACTURER gkeyboard -#define PRODUCT GKB-M16 /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 4 diff --git a/keyboards/gkeyboard/gkb_m16/info.json b/keyboards/gkeyboard/gkb_m16/info.json index 1a3817b88b..ff299c5b89 100644 --- a/keyboards/gkeyboard/gkb_m16/info.json +++ b/keyboards/gkeyboard/gkb_m16/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "gkb_m16", + "keyboard_name": "GKB-M16", + "manufacturer": "gkeyboard", "url": "", "maintainer": "gkeyboard", + "usb": { + "vid": "0x474B", + "pid": "0x4201", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_ortho_4x4": { "layout": [ |