From 48792b030b754c8b3983a97071db1b09ae6353d4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 20 Aug 2022 10:31:48 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079) --- keyboards/handwired/bento/info.json | 17 ----------------- keyboards/handwired/bento/rev1/config.h | 7 ------- keyboards/handwired/bento/rev1/info.json | 23 +++++++++++++++++++++++ 3 files changed, 23 insertions(+), 24 deletions(-) delete mode 100644 keyboards/handwired/bento/info.json create mode 100644 keyboards/handwired/bento/rev1/info.json (limited to 'keyboards/handwired/bento') diff --git a/keyboards/handwired/bento/info.json b/keyboards/handwired/bento/info.json deleted file mode 100644 index cae2773de2..0000000000 --- a/keyboards/handwired/bento/info.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "keyboard_name": "Bento Macropad", - "url": "https://www.thingiverse.com/thing:4416966", - "maintainer": "Ghostseven", - "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} - ] - } - } -} 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} + ] + } + } +} -- cgit v1.2.3