From eef58035c1848a8cffbcb17373b6afbe43be1440 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 May 2017 00:29:58 +0300 Subject: Add chat command for send any gui key. New chat command: guikey. --- src/input/inputmanager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/input/inputmanager.h') diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h index 94e85b7d2..8455ef9b0 100644 --- a/src/input/inputmanager.h +++ b/src/input/inputmanager.h @@ -139,6 +139,9 @@ class InputManager final InputActionT getActionByKey(const SDL_Event &restrict event) const restrict2 A_WARN_UNUSED; + InputActionT getActionByConfigField(const std::string &field) + const restrict2 A_WARN_UNUSED; + void executeAction(const InputActionT keyNum) restrict2; bool executeChatCommand(const std::string &restrict cmd, -- cgit v1.2.3-60-g2f50