fix: gamepad self-test

This commit is contained in:
goaaats 2021-12-03 13:17:49 +01:00
parent 4719e8d612
commit e4bb7a83f0
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -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;
}