Use game controller APIs instead of the joystick ones to be able to use the gamepad button DB file.
Add mocks for some SDL functions related to joysticks/gamepads.
Remove old SDL dependency.