Check if controller supports Rumble rather than trying to rumble for 100ms
This commit is contained in:
parent
b442d32b7c
commit
6619453aed
@ -125,7 +125,7 @@ namespace Ryujinx.Input.SDL2
|
||||
result |= GamepadFeaturesFlag.Motion;
|
||||
}
|
||||
|
||||
if (SDL_GameControllerRumble(_gamepadHandle, 0, 0, 100) == 0)
|
||||
if (SDL_GameControllerHasRumble(_gamepadHandle) == SDL_bool.SDL_TRUE)
|
||||
{
|
||||
result |= GamepadFeaturesFlag.Rumble;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user