New utility to map any joystick to controller in SDL2. In other words, this will remap the joystick buttons/axes to something fixed and thus Doom3-BFG will work OK.
* Solved a bug that prevented joystick events to be sent. See comments around
SDL_Init().
* Use SDL_WaitEvent() instead of SDL_PollEvent(). SDL_PollEvent() consumes 100%!
* Code cleaning and better printing of information.
* All joysticks in the system are listed at startup, not just the joystick index 0.
* Code cleaning.
* List all joystick info found at startup.
* Better printing of joystick information to the user. This will allow to test the
mappings done with map_gamepad_SDL2.