diff options
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 0f4788af..a67e8470 100644 --- a/dinput/keybinding-worker.cpp +++ b/dinput/keybinding-worker.cpp @@ -18,7 +18,7 @@ bool Key::should_process() { if (!enabled || (keycode == 0 && guid == "")) return false; - bool ret = timer.elapsed_ms() > 100; + bool ret = !held || timer.elapsed_ms() > 100; timer.start(); return ret; } |