Hi all. Hope i picked the right forum for my question.
I've had this project sitting on my back burner for ages. Its a playstation controller to USB adapter for PC, using an Arduino Micro. The micro will be wired to a 2 port female playstation controller plug, and have support for the 4 player adapters sold with the PSX and PS2 for up to 8 players at a time. The tricky part, is that i want the controllers to be hot pluggable... when a controller is plugged in to the arduino, a new device appears on the PC for the new controller. Unplug it and the controller disappears... etc. Obviously the easy way to do this project is to pre allocate 8 controllers, but my vision for this would be for the arduino to be a permanent accessory. Imagine a bartop arcade with playstation controller ports, for example. I want the flexibility of being able to plug other USB controllers in without the PSX controller and having the USB controller be identified as player 1.
I've had a look at the Joystick library, and while it works, I'm not sure its capable of the kind of dynamic allocation im talking about. Is what im talking about possible without a custom PC driver?