Add option to change controller LED color #572

Merged
Otozinclus merged 33 commits from Change-Controller-LED-Color into master 2025-01-24 20:47:36 +00:00
Showing only changes of commit 5276991517 - Show all commits

View File

@ -106,6 +106,7 @@ namespace Ryujinx.Input.SDL2
public void SetLedColor() public void SetLedColor()
{ {
if (!HasConfiguration) return; if (!HasConfiguration) return;
if (!_configuration.Led.EnableLed) return;
uint _rawColor = _configuration.Led.LedColor; uint _rawColor = _configuration.Led.LedColor;
byte red = (byte)(_rawColor >> 16); byte red = (byte)(_rawColor >> 16);