summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-09 00:29:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-09 00:29:58 +0300
commiteef58035c1848a8cffbcb17373b6afbe43be1440 (patch)
treeec8ff687c1c15c6b3f8448e596f51de066a5717b /src/input/inputmanager.h
parent1f0070646425aeb23f01d769f5b1cf071d1d3d15 (diff)
downloadmv-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.gz
mv-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.bz2
mv-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.xz
mv-eef58035c1848a8cffbcb17373b6afbe43be1440.zip
Add chat command for send any gui key.
New chat command: guikey.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h3
1 files changed, 3 insertions, 0 deletions
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,