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:
Edênis Freindorfer Azevedo 2019-05-23 20:04:18 -03:00
parent 500506cbd4
commit 3d57750c16
No known key found for this signature in database
GPG Key ID: 968FB6EC280C7222
1 changed files with 1 additions and 1 deletions

View File

@ -1184,7 +1184,7 @@ static bool process_key_press(bool down, int key, int mod, int joy = 0)
break;
#endif
default:
mod = 0;
if (joy == 0) mod = 0;
break;
}