Check if controller has a controllable LED
This commit is contained in:
parent
e861204078
commit
6c0526c59f
@ -86,7 +86,7 @@ namespace Ryujinx.Input.SDL2
|
|||||||
Features = GetFeaturesFlag();
|
Features = GetFeaturesFlag();
|
||||||
_triggerThreshold = 0.0f;
|
_triggerThreshold = 0.0f;
|
||||||
|
|
||||||
//if (SDL_GameControllerHasLED(_gamepadHandle))
|
if (SDL_GameControllerHasLED(_gamepadHandle) == SDL_bool.SDL_TRUE)
|
||||||
{
|
{
|
||||||
SetLedColor("000000");
|
SetLedColor("000000");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user