diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-06 17:38:56 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-06 17:41:57 +0200 |
commit | 15dbef7679783fe802c2ad63304847ba47bcae50 (patch) | |
tree | a41619a46dc8a2cd97da8460aa6552b2134b7b34 /dinput | |
parent | 7c8de4940fd96d0ca14bba6cc7774d93422f1e21 (diff) |
logic/shortcuts: fix "held" not initialized for joysticks
Reported-by: @Sone989
Issue: #440
Diffstat (limited to 'dinput')
-rw-r--r-- | dinput/keybinding-worker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/keybinding-worker.cpp b/dinput/keybinding-worker.cpp index 608f8fc1..5fbde31c 100644 --- a/dinput/keybinding-worker.cpp +++ b/dinput/keybinding-worker.cpp @@ -122,7 +122,7 @@ void KeybindingWorker::run() k.held = held; for (auto& r : receivers) - r->operator()(k); + (*r)(k); }; joy_ctx.poll(f); |