diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-09 00:29:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-09 00:29:58 +0300 |
commit | eef58035c1848a8cffbcb17373b6afbe43be1440 (patch) | |
tree | ec8ff687c1c15c6b3f8448e596f51de066a5717b /src/input/inputactionmap.h | |
parent | 1f0070646425aeb23f01d769f5b1cf071d1d3d15 (diff) | |
download | manaplus-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.gz manaplus-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.bz2 manaplus-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.xz manaplus-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.h | 6 |
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 |