restore prior formatting
This commit is contained in:
parent
38a9b0dbdb
commit
f9130ffc53
@ -253,6 +253,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(args.NewColor.Value.ToUInt32());
|
cVm.ParentModel.SelectedGamepad.SetLed(args.NewColor.Value.ToUInt32());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -261,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