8c309eaaf4
Fix using modifier keys such as SHIFT or CONTROL by themselves as game keys. Modifier keys are sent as a special keycode e.g. WXK_CTRL along with the modifier flag, however on key release the keycode is sent but the modifier flag is not. So check for modifier keys in process_key_press() and always set the modifier flag so that release events are recognized correctly. Fix support for RAW_CTRL on Mac (which is the real control, while the Command key is mapped to CTRL.) Also disable the debug message emitted by wX when our modifier-only key parsing code runs. TODO: map modifier key names on Mac to the actual keys rather than the wX names such as RAWCTRL. |
||
---|---|---|
CMakeScripts | ||
data | ||
dependencies@76e2d57b89 | ||
doc | ||
fex | ||
po | ||
project | ||
src | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
installdeps | ||
todo.md |