From e4bb7a83f0672dad45974a02b252be790a4dcd70 Mon Sep 17 00:00:00 2001 From: goaaats <16760685+goaaats@users.noreply.github.com> Date: Fri, 3 Dec 2021 13:17:49 +0100 Subject: [PATCH] fix: gamepad self-test --- .../Windows/SelfTest/AgingSteps/GamepadStateAgingStep.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/SelfTest/AgingSteps/GamepadStateAgingStep.cs b/Dalamud/Interface/Internal/Windows/SelfTest/AgingSteps/GamepadStateAgingStep.cs index 320e0d55c..1b451b73f 100644 --- a/Dalamud/Interface/Internal/Windows/SelfTest/AgingSteps/GamepadStateAgingStep.cs +++ b/Dalamud/Interface/Internal/Windows/SelfTest/AgingSteps/GamepadStateAgingStep.cs @@ -18,9 +18,9 @@ namespace Dalamud.Interface.Internal.Windows.SelfTest.AgingSteps ImGui.Text("Hold down North, East, L1"); - if (gamepadState.Pressed(GamepadButtons.North) == 1 - && gamepadState.Pressed(GamepadButtons.East) == 1 - && gamepadState.Pressed(GamepadButtons.L1) == 1) + if (gamepadState.Raw(GamepadButtons.North) == 1 + && gamepadState.Raw(GamepadButtons.East) == 1 + && gamepadState.Raw(GamepadButtons.L1) == 1) { return SelfTestStepResult.Pass; }