diff options
Diffstat (limited to 'src/frontend/qt_sdl/Input.cpp')
-rw-r--r-- | src/frontend/qt_sdl/Input.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/Input.cpp b/src/frontend/qt_sdl/Input.cpp index c429cd3..27c42e9 100644 --- a/src/frontend/qt_sdl/Input.cpp +++ b/src/frontend/qt_sdl/Input.cpp @@ -128,6 +128,11 @@ void KeyRelease(QKeyEvent* event) KeyHotkeyMask &= ~(1<<i); } +void KeyReleaseAll() +{ + KeyInputMask = 0xFFF; + KeyHotkeyMask = 0; +} bool JoystickButtonDown(int val) { |