summaryrefslogtreecommitdiff
path: root/src/ui/keys.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-29 14:06:37 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-29 14:06:37 +0300
commitc49aa1209e9427bcfe45d77aa2dc301f1a20e831 (patch)
tree797551b63b21206a043e6d46eb37ac39e94d14fc /src/ui/keys.c
parentc13bdde1bc79f95a42cd99d92b140a7b19c71c28 (diff)
Fixed: Missing bindings
Don't use built-in default bindings to update buttons or menu items.
Diffstat (limited to 'src/ui/keys.c')
-rw-r--r--src/ui/keys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c
index ecf65995..456ca928 100644
--- a/src/ui/keys.c
+++ b/src/ui/keys.c
@@ -426,7 +426,6 @@ iBool processEvent_Keys(const SDL_Event *ev) {
426 iKeys *d = &keys_; 426 iKeys *d = &keys_;
427 if (ev->type == SDL_KEYDOWN || ev->type == SDL_KEYUP) { 427 if (ev->type == SDL_KEYDOWN || ev->type == SDL_KEYUP) {
428 const iBinding *bind = find_Keys_(d, ev->key.keysym.sym, keyMods_Sym(ev->key.keysym.mod)); 428 const iBinding *bind = find_Keys_(d, ev->key.keysym.sym, keyMods_Sym(ev->key.keysym.mod));
429 printf("[Keys] bind: %p\n", bind); fflush(stdout);
430 if (bind) { 429 if (bind) {
431 if (ev->type == SDL_KEYUP) { 430 if (ev->type == SDL_KEYUP) {
432 if (bind->flags & argRelease_BindFlag) { 431 if (bind->flags & argRelease_BindFlag) {