SDL2 controller implementation
This tutorial will show how to implement a controller in your application using SDL2. The controller input has two categories, the BUTTONS and the AXIS. The buttons have an state of 0 is the button is not pressed and 1 if the button is pressed. For the axis we can …