mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-08 02:56:27 +02:00
UI: Add the ability to change a DualSense/DualShock 4's LED color.
Not functional yet. This is the UI & persistence side of #572.
This commit is contained in:
parent
069f630776
commit
c03cd50fa3
11 changed files with 125 additions and 14 deletions
|
@ -37,7 +37,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
|||
|
||||
[ObservableProperty] private SvgImage _image;
|
||||
|
||||
public readonly InputViewModel ParentModel;
|
||||
public InputViewModel ParentModel { get; }
|
||||
|
||||
public ControllerInputViewModel(InputViewModel model, GamepadInputConfig config)
|
||||
{
|
||||
|
|
|
@ -68,6 +68,8 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
|||
public bool IsKeyboard => !IsController;
|
||||
public bool IsRight { get; set; }
|
||||
public bool IsLeft { get; set; }
|
||||
|
||||
public bool HasLed => SelectedGamepad.Features.HasFlag(GamepadFeaturesFlag.Led);
|
||||
|
||||
public bool IsModified { get; set; }
|
||||
public event Action NotifyChangesEvent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue