Fix joystick support

This commit is contained in:
Ivan Epifanov 2020-11-02 19:38:20 +03:00 committed by Sam Lantinga
parent 41d6c80b07
commit 73b545ed28
3 changed files with 60 additions and 49 deletions

View file

@ -95,6 +95,9 @@ static SDL_JoystickDriver *SDL_joystick_drivers[] = {
#ifdef SDL_JOYSTICK_VIRTUAL
&SDL_VIRTUAL_JoystickDriver,
#endif
#ifdef SDL_JOYSTICK_VITA
&SDL_VITA_JoystickDriver
#endif
#if defined(SDL_JOYSTICK_DUMMY) || defined(SDL_JOYSTICK_DISABLED)
&SDL_DUMMY_JoystickDriver
#endif