From b68e9edf93969341c440f1e1bd51203d4d5fabff Mon Sep 17 00:00:00 2001 From: GammaTendonNine <72714379+GammaTendonNine@users.noreply.github.com> Date: Wed, 21 Oct 2020 17:25:15 -0500 Subject: [PATCH] Revert "Fix: L trigger is backwards (press = unpress)" --- src/pc/controller/controller_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/controller/controller_sdl.c b/src/pc/controller/controller_sdl.c index 8e5390ee..a71a82eb 100644 --- a/src/pc/controller/controller_sdl.c +++ b/src/pc/controller/controller_sdl.c @@ -219,7 +219,7 @@ static void controller_sdl_read(OSContPad *pad) { update_button(i, new); } - update_button(VK_LTRIGGER - VK_BASE_SDL_GAMEPAD, ltrig < AXIS_THRESHOLD); + update_button(VK_LTRIGGER - VK_BASE_SDL_GAMEPAD, ltrig > AXIS_THRESHOLD); update_button(VK_RTRIGGER - VK_BASE_SDL_GAMEPAD, rtrig > AXIS_THRESHOLD); u32 buttons_down = 0;