summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-23 23:03:45 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-23 23:03:45 +0300
commitcea367c529bd8400a44fab3f580d43120457e1b9 (patch)
treef33d4393865bdf2f6bff041002243583605f1de4 /src/input/inputactionmap.h
parent7863473dc201f4a497669cbf69875eb6e9389273 (diff)
downloadmanaverse-cea367c529bd8400a44fab3f580d43120457e1b9.tar.gz
manaverse-cea367c529bd8400a44fab3f580d43120457e1b9.tar.bz2
manaverse-cea367c529bd8400a44fab3f580d43120457e1b9.tar.xz
manaverse-cea367c529bd8400a44fab3f580d43120457e1b9.zip
Add chat command for send any number of pritable chars to input.
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 bc18cd7a4..b49b36904 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5654,6 +5654,12 @@ static const InputActionData inputActionData
"mousekey|sendmousekey",
UseArgs_true,
Protected_true},
+ {"keyCommandSendChars",
+ defaultAction(&Actions::sendChars),
+ InputCondition::ENABLED,
+ "sendchar|sendchars|charsend",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction