If the game controllers are not opened you will not receive any events.
This patch simply opens all available joysticks as game controllers, which guarantees we open the one the user wants. There should probably be a command line option to select a specific controller in case the user has some weird controller than causes problems.
Cool contribution, thank you! I suppose enumerating and selecting a controller on the command line would be a nice addition. Maybe something for me to look at next weekend.
If the game controllers are not opened you will not receive any events.
This patch simply opens all available joysticks as game controllers, which guarantees we open the one the user wants. There should probably be a command line option to select a specific controller in case the user has some weird controller than causes problems.