diff --git a/src/Ryujinx.Ava/UI/ViewModels/Input/ControllerInputViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/Input/ControllerInputViewModel.cs
index 34d7ac2cf..52e2d2c53 100644
--- a/src/Ryujinx.Ava/UI/ViewModels/Input/ControllerInputViewModel.cs
+++ b/src/Ryujinx.Ava/UI/ViewModels/Input/ControllerInputViewModel.cs
@@ -25,6 +25,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
{
_isLeft = value;
OnPropertyChanged();
+ OnPropertyChanged(nameof(HasSides));
}
}
@@ -36,9 +37,12 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
{
_isRight = value;
OnPropertyChanged();
+ OnPropertyChanged(nameof(HasSides));
}
}
+ public bool HasSides => IsLeft ^ IsRight;
+
private SvgImage _image;
public SvgImage Image
{
diff --git a/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml b/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml
index 6cf873071..74827174a 100644
--- a/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml
+++ b/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml
@@ -350,76 +350,80 @@
Text="{Binding Config.TriggerThreshold, StringFormat=\{0:0.00\}}" />
-
+
-
+ IsVisible="{Binding IsLeft}"
+ Orientation="Horizontal">
-
-
-
-
+
+
+
+
-
+ IsVisible="{Binding IsLeft}"
+ Orientation="Horizontal">
-
-
-
-
+
+
+
+
-
+ IsVisible="{Binding IsRight}"
+ Orientation="Horizontal">
-
-
-
-
+
+
+
+
-
+ IsVisible="{Binding IsRight}"
+ Orientation="Horizontal">
-
+
+
+
+