Follow-up work on #142.
Joysticks have their own set of {KEY,MOD,JOY}, what means that setting everything for MOD=0 is a mistake. We need to deal only with keyboard mappings here.
This commit is contained in:
parent
500506cbd4
commit
3d57750c16
|
@ -1184,7 +1184,7 @@ static bool process_key_press(bool down, int key, int mod, int joy = 0)
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
mod = 0;
|
if (joy == 0) mod = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue