Basically I want to control the input of a USB HID via one or more other HIDs.
I know there are commercial options available to do this however they are closed source and expensive. I'd like to get into learning hardware so I was hoping this could be a good learning project.
One idea that came to mind was to use a USB extension cable, strip it, "clamp" both data wires and connect them to GPIO pins. Then I'd clone the signal for the different input types and map them out in software to the other usb devices that are plugged into the pi. (I've got no idea if you can even do something like this)
Here is a diagram of how that might look.
If the above is impossible, another idea was to use a Pi Zero, put it into device mode (to act as a HID). The problem then becomes, how do you connect the additional USB devices to the Pi. I saw USB hubs you could buy for the PI Zero such as the Zero4U. The only question then I have would be, if the PI is in HID mode, would the hub work properly still, or would it somehow put that into HID mode as well.
I already have a PI 3 and a PI Zero so I'm hoping I can use these, but if its impossible with these, I'm open to other suggestions.