From 432896d05e39399b48d80f4e80b058f487f48112 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 Mar 2016 00:01:18 +0300 Subject: Move keyStr from inputfunction into separate array in inputmanager. --- src/input/inputmanager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/input/inputmanager.h') diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h index 177bb2ae2..26e858185 100644 --- a/src/input/inputmanager.h +++ b/src/input/inputmanager.h @@ -160,7 +160,8 @@ class InputManager final static bool isActionActive0(const InputActionT index) A_WARN_UNUSED; - void updateKeyString(InputFunction &ki) const restrict2; + void updateKeyString(const InputFunction &ki, + const size_t actionIdx) restrict2; /** Reference to setup window */ Setup_Input *mSetupInput A_NONNULLPOINTER; @@ -173,6 +174,7 @@ class InputManager final StringIntMap mChatMap; InputFunction mKey[CAST_SIZE(InputAction::TOTAL)]; + std::string mKeyStr[CAST_SIZE(InputAction::TOTAL)]; }; extern InputManager inputManager; -- cgit v1.2.3-60-g2f50