I posted this on the Raspberry Pi forums, figured I should ask here as well.
I’ve been wanting to make a fightstick with a built in Raspberry Pi for a while. That itself isn’t much of a biggie, people have been doing that for as long as the Pi has been around, I would believe. But I want it to function as a regular fightstick as well, and that’s where I run into a problem I can’t solve on my own. The components inside the stick’s case would be connected at all times, obviously, but if you would connect the stick to a console or computer, that connection would take precedence over the connection to the Pi, making it act like a regular fightstick.
How could I achieve this? If it’s even possible to do, that is.
I made a rough visual of the (currently hypothetical) idea:
I would have the joystick and buttons connected to a Brooks UFB which would then be connected to the pi and an external outgoing USB port. The square with the question mark is the issue at hand. One method I’ve contemplated is simply adding a toggle switch, but it’s a less elegant solution and another hole must be made in the case to accommodate it, so it’s not as preferable.