Skip to content
Permalink
Browse files

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.
  • Loading branch information
denisfa committed May 23, 2019
1 parent 500506c commit 3d57750c16e28d834e6c210cc5d93d14a780e1e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wx/panel.cpp
@@ -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;
}

0 comments on commit 3d57750

Please sign in to comment.
You can’t perform that action at this time.