mirror of
https://github.com/simple64/simple64.git
synced 2026-11-12 00:58:42 +01:00
update input qt
This commit is contained in:
1 parent
96850f7a03
commit
792592a4e3
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user