Use game controller APIs instead of the joystick ones to be able to use the gamepad button DB file.
Properly add SDL mocks for macOS.
Use library in new subproject.