summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-10 01:11:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-10 01:11:39 +0300
commit7fd1401d915ee91c808695ca1f3647ca7a258a1f (patch)
treed1aa0867879ea2ebb3ecd2910ef02ce09cb764d0 /src/input/inputmanager.h
parent481ea0b776bbab92b500540f59c5a191c6e93cba (diff)
downloadplus-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.gz
plus-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.bz2
plus-7fd1401d915ee91c808695ca1f3647ca7a258a1f.tar.xz
plus-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.h2
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;