diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-20 10:31:48 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 10:31:48 +1000 |
commit | 48792b030b754c8b3983a97071db1b09ae6353d4 (patch) | |
tree | 2b6d8d40e7ed59a59a41f26de00e4bf4898c02a4 /keyboards/handwired/bento/rev1 | |
parent | 39f0fb7beaaf3a1e6ac8d52db0bc51ed786fad17 (diff) |
Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079)
Diffstat (limited to 'keyboards/handwired/bento/rev1')
-rw-r--r-- | keyboards/handwired/bento/rev1/config.h | 7 | ||||
-rw-r--r-- | keyboards/handwired/bento/rev1/info.json | 23 |
2 files changed, 23 insertions, 7 deletions
diff --git a/keyboards/handwired/bento/rev1/config.h b/keyboards/handwired/bento/rev1/config.h index 9bb7ef666d..0eb7664878 100644 --- a/keyboards/handwired/bento/rev1/config.h +++ b/keyboards/handwired/bento/rev1/config.h @@ -18,13 +18,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0xDAD3 -#define DEVICE_VER 0x0100 -#define MANUFACTURER GhostSeven -#define PRODUCT Bento Macropad Rev. 1 - /* key matrix size */ #define MATRIX_ROWS 2 #define MATRIX_COLS 3 diff --git a/keyboards/handwired/bento/rev1/info.json b/keyboards/handwired/bento/rev1/info.json new file mode 100644 index 0000000000..26aab3813a --- /dev/null +++ b/keyboards/handwired/bento/rev1/info.json @@ -0,0 +1,23 @@ +{ + "keyboard_name": "Bento Macropad Rev. 1", + "manufacturer": "GhostSeven", + "url": "https://www.thingiverse.com/thing:4416966", + "maintainer": "Ghostseven", + "usb": { + "vid": "0xFEED", + "pid": "0xDAD3", + "device_version": "1.0.0" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + {"x":2, "y":0}, + {"x":0, "y":1}, + {"x":1, "y":1}, + {"x":2, "y":1} + ] + } + } +} |