X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=converter%2Fusb_usb%2Fmain.cpp;h=0b536b05aa80492bb8c60a8bb4570b70843332d0;hb=c9674d388d3b018cb1dfc0a34868642be53e913c;hp=4e655632e31a8ca5f54fa4fb3d08c52093a078c5;hpb=0a9d9b8f9c6579a47fbb35973c747e13fb93e4b8;p=tmk_firmware.git diff --git a/converter/usb_usb/main.cpp b/converter/usb_usb/main.cpp index 4e65563..0b536b0 100644 --- a/converter/usb_usb/main.cpp +++ b/converter/usb_usb/main.cpp @@ -8,6 +8,7 @@ #include "hid.h" #include "hidboot.h" #include "parser.h" +#include "usbhub.h" // LUFA #include "lufa.h" @@ -23,6 +24,15 @@ static USB usb_host; static HIDBoot kbd(&usb_host); static KBDReportParser kbd_parser; +static USBHub hub1(&usb_host); // one hub is enough for HHKB pro2 +/* may be needed for other device with more hub +static USBHub hub2(&usb_host); +static USBHub hub3(&usb_host); +static USBHub hub4(&usb_host); +static USBHub hub5(&usb_host); +static USBHub hub6(&usb_host); +static USBHub hub7(&usb_host); +*/ static void LUFA_setup(void) {