diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-10 01:11:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-10 01:11:39 +0300 |
commit | 7fd1401d915ee91c808695ca1f3647ca7a258a1f (patch) | |
tree | d1aa0867879ea2ebb3ecd2910ef02ce09cb764d0 /src/input/inputmanager.h | |
parent | 481ea0b776bbab92b500540f59c5a191c6e93cba (diff) | |
download | mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.gz mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.bz2 mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.xz mv-7fd1401d915ee91c808695ca1f3647ca7a258a1f.zip |
Allow trigger input action on key press or/and release.
By default all actions triggered on press key.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r-- | src/input/inputmanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h index 6deb64858..012c06f7d 100644 --- a/src/input/inputmanager.h +++ b/src/input/inputmanager.h @@ -138,7 +138,7 @@ class InputManager final static void update(); - void updateConditionMask() restrict2; + void updateConditionMask(const bool pressed) restrict2; InputActionT getActionByKey(const SDL_Event &restrict event) const restrict2 A_WARN_UNUSED; |