From 792592a4e3398af44af77296e0aaa07c4b082f75 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Mon, 12 Apr 2021 09:47:19 -0600 Subject: [PATCH] update input qt --- mupen64plus-input-qt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mupen64plus-input-qt/main.cpp b/mupen64plus-input-qt/main.cpp index 985a125..1dd56a3 100644 --- a/mupen64plus-input-qt/main.cpp +++ b/mupen64plus-input-qt/main.cpp @@ -420,7 +420,7 @@ void setKey(int Control, uint32_t key, BUTTONS *Keys, QString button) break; case 5 /*Joystick Axis*/: axis_value = SDL_JoystickGetAxis(controller[Control].joystick, value.at(0).toInt()); - if (key == 0x0020/*Z*/) + if (key == 0x0020/*Z*/ || key == 0x1000/*R_TRIG*/ || key == 0x2000/*L_TRIG*/) { if (axis_value > 0) Keys->Value |= key;