Check if controller has a controllable LED

This commit is contained in:
Otozinclus 2025-01-22 23:18:41 +01:00 committed by GitHub
parent e861204078
commit 6c0526c59f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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