Hai!
I have developed a test board with on it an ATMEGA16U4 and a FTDI FT232 device (working separately for testing and what-not)
(which in some stadia spawned things like a standalone force-feedback mouse skittering around a desk. Force feedback mouse? Yes! Old, but still very cool and extremely unsupported in latter-day OSs)
Anyway, this turned into me thinking about using the RS232 port for USB-based virtual com to the atmel to control a 2degrees of freedom flight-sim chair, while the USB port of the atmel could do a HID simulation for a keyboard-Joystick integrated into the chair, which also allows input/output to console lights, buttons and all this and that and whatever.
(free games all have weird ctrl-D and alt-R keys and no joystick binding for those functions)
Problem:
I'm using one PCB, but two USB ports and still would prefer the Joystick to be a Joystick device in stead of a keyboard arrow-key-simulator, without losing the idea for 24 in-cockpit-buttons. (thus spawning a 3rd USB port)
This feels unclean, so I wonder, is there anyone here (DEAN! HELP!) who knows if (and possibly how) LUFA can be used to simulate a USB-hub with 3 devices attached to it: 1 HID, 1 Joystick and 1 COM port.
Where messages get filtered per device and handled in the normal bytewise VoodooThatIDoSoWell.
Regards, salutations and eh.. thanks!
Robert!
P.S.: Dean, if this sounds like a fun thing to add to LUFA, but is not at all supported in any way yet, maybe I can assist in extending it over a few weekends, because internal-HUB function could help me greatly in future assignments as well.
I must admit I have no idea if Atmel's internal hardware allows for this, so feel free to shoot my dream-balloon down.