From 93d78f9ac4a37a50f0cc2e57addd330d072af742 Mon Sep 17 00:00:00 2001
From: MutantAura <44103205+MutantAura@users.noreply.github.com>
Date: Tue, 29 Aug 2023 09:56:43 +0100
Subject: [PATCH] Add SmallChange properties to the rest of the sliders (fixes
keyboard input). (#5621)
---
src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml | 5 +++++
src/Ryujinx.Ava/UI/Views/Input/MotionInputView.axaml | 2 ++
src/Ryujinx.Ava/UI/Views/Input/RumbleInputView.axaml | 2 ++
src/Ryujinx.Ava/UI/Views/Main/MainViewControls.axaml | 1 +
4 files changed, 10 insertions(+)
diff --git a/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml b/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml
index 65a66d9e..2ab42e6e 100644
--- a/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml
+++ b/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml
@@ -465,6 +465,7 @@
Maximum="1"
TickFrequency="0.01"
IsSnapToTickEnabled="True"
+ SmallChange="0.01"
Minimum="0"
Value="{ReflectionBinding Configuration.DeadzoneLeft, Mode=TwoWay}" />
@@ -50,6 +51,7 @@
MaxWidth="150"
TickFrequency="0.01"
IsSnapToTickEnabled="True"
+ SmallChange="0.01"
Maximum="100"
Minimum="0"
Value="{Binding GyroDeadzone, Mode=TwoWay}" />
diff --git a/src/Ryujinx.Ava/UI/Views/Input/RumbleInputView.axaml b/src/Ryujinx.Ava/UI/Views/Input/RumbleInputView.axaml
index 16190d39..f633c0ed 100644
--- a/src/Ryujinx.Ava/UI/Views/Input/RumbleInputView.axaml
+++ b/src/Ryujinx.Ava/UI/Views/Input/RumbleInputView.axaml
@@ -26,6 +26,7 @@
Width="200"
TickFrequency="0.01"
IsSnapToTickEnabled="True"
+ SmallChange="0.01"
Maximum="10"
Minimum="0"
Value="{Binding StrongRumble, Mode=TwoWay}" />
@@ -47,6 +48,7 @@
Maximum="10"
TickFrequency="0.01"
IsSnapToTickEnabled="True"
+ SmallChange="0.01"
Minimum="0"
Value="{Binding WeakRumble, Mode=TwoWay}" />