emscripten: Patched to compile with new joystick interfaces.

This commit is contained in:
Ryan C. Gordon 2018-08-10 14:32:30 -04:00
parent 941f8ecffd
commit b692c35237
3 changed files with 66 additions and 53 deletions

View file

@ -61,6 +61,9 @@ static SDL_JoystickDriver *SDL_joystick_drivers[] = {
#ifdef SDL_JOYSTICK_ANDROID
&SDL_ANDROID_JoystickDriver,
#endif
#ifdef SDL_JOYSTICK_EMSCRIPTEN
&SDL_EMSCRIPTEN_JoystickDriver,
#endif
#ifdef SDL_JOYSTICK_HIDAPI
&SDL_HIDAPI_JoystickDriver,
#endif