summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.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/inputactionmap.h
parent1f0070646425aeb23f01d769f5b1cf071d1d3d15 (diff)
downloadmanaverse-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.gz
manaverse-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.bz2
manaverse-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.xz
manaverse-eef58035c1848a8cffbcb17373b6afbe43be1440.zip
Add chat command for send any gui key.
New chat command: guikey.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index a717c7e5e..f4d8f5739 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5612,6 +5612,12 @@ static const InputActionData inputActionData
"translate|trans|tran",
UseArgs_false,
Protected_true},
+ {"keyCommandSendGuiKey",
+ defaultAction(&Actions::sendGuiKey),
+ InputCondition::ENABLED,
+ "guikey|sendguikey",
+ UseArgs_false,
+ Protected_true},
};
#undef defaultAction