Add option to change controller LED color #572
@ -125,9 +125,7 @@ namespace Ryujinx.Input.SDL2
|
|||||||
result |= GamepadFeaturesFlag.Motion;
|
result |= GamepadFeaturesFlag.Motion;
|
||||||
}
|
}
|
||||||
|
|
||||||
int error = SDL_GameControllerRumble(_gamepadHandle, 0, 0, 100);
|
if (SDL_GameControllerRumble(_gamepadHandle, 0, 0, 100) == 0)
|
||||||
|
|
||||||
if (error == 0)
|
|
||||||
{
|
{
|
||||||
result |= GamepadFeaturesFlag.Rumble;
|
result |= GamepadFeaturesFlag.Rumble;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user