I had to do this in 2 steps don't ask
This commit is contained in:
parent
e400fdd168
commit
211763c955
@ -262,6 +262,7 @@ namespace Ryujinx.Ava.UI.Views.Input
|
|||||||
if (DataContext is not ControllerInputViewModel cVm) return;
|
if (DataContext is not ControllerInputViewModel cVm) return;
|
||||||
if (!cVm.Config.EnableLedChanging) return;
|
if (!cVm.Config.EnableLedChanging) return;
|
||||||
if (cVm.Config.TurnOffLed) return;
|
if (cVm.Config.TurnOffLed) return;
|
||||||
|
|
||||||
cVm.ParentModel.SelectedGamepad.SetLed(cVm.Config.LedColor.ToUInt32());
|
cVm.ParentModel.SelectedGamepad.SetLed(cVm.Config.LedColor.ToUInt32());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user