update input qt

This commit is contained in:
Logan McNaughton committed 2021-04-12 09:47:19 -06:00
1 parent 96850f7a03
commit 792592a4e3
1 file changed
+1 -1
+1 -1
View File
@@ -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;