Check if controller has a controllable LED

This commit is contained in:
Otozinclus 2025-01-22 23:18:41 +01:00 committed by mika
parent f4c3a2e487
commit 488b09f974

View File

@ -87,7 +87,7 @@ namespace Ryujinx.Input.SDL2
Features = GetFeaturesFlag();
_triggerThreshold = 0.0f;
//if (SDL_GameControllerHasLED(_gamepadHandle))
if (SDL_GameControllerHasLED(_gamepadHandle) == SDL_bool.SDL_TRUE)
{
SetLedColor("000000");
}