summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 23:13:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 23:13:26 +0300
commit70e54365d660a52884af35487cfdf89d0d53ac9a (patch)
tree5cdbf55b2d977523364a554f2ea1c1bd46628da4 /src/input/inputmanager.h
parent8ea8b11a39ad94f521d66d2f182312655ad587b2 (diff)
downloadmanaverse-70e54365d660a52884af35487cfdf89d0d53ac9a.tar.gz
manaverse-70e54365d660a52884af35487cfdf89d0d53ac9a.tar.bz2
manaverse-70e54365d660a52884af35487cfdf89d0d53ac9a.tar.xz
manaverse-70e54365d660a52884af35487cfdf89d0d53ac9a.zip
Improve performance in getting printable key for actions.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index 8b2d3ae84..177bb2ae2 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -160,6 +160,8 @@ class InputManager final
static bool isActionActive0(const InputActionT index) A_WARN_UNUSED;
+ void updateKeyString(InputFunction &ki) const restrict2;
+
/** Reference to setup window */
Setup_Input *mSetupInput A_NONNULLPOINTER;
/** Index of new key to be assigned */