mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 18:07:40 +00:00
emscripten: Patched to compile with new joystick interfaces.
This commit is contained in:
parent
941f8ecffd
commit
b692c35237
3 changed files with 66 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue