djyt / cannonball

Cannonball: An Enhanced OutRun Engine
http://reassembler.blogspot.com
649 stars 116 forks source link

Implement modern SDL2 controller handling #80

Closed DanTheMan827 closed 3 years ago

DanTheMan827 commented 3 years ago

This will make use of the game controller interface over the joystick interface for input handling, this allows for a consistent button index between controllers to be saved in the config.xml file, it also allows for different controllers to make use of the same mapping.

It isn't compatible with previous mappings though, so I don't know if you want to add another config section for controller mappings specifically or not.

This takes care of #77