mirror of https://github.com/libsdl-org/SDL.git
Enable HIDAPI controller support on mobile platforms
This commit is contained in:
parent
4236fb2d63
commit
3a68febedf
|
|
@ -1998,6 +1998,7 @@ int main(int argc, char *argv[])
|
|||
return 1;
|
||||
}
|
||||
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI, "1");
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1");
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_STEAM, "1");
|
||||
|
|
|
|||
Loading…
Reference in New Issue