summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-14 13:38:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-14 13:38:58 +0300
commit8b9829b4fd8956023da96dd8435e255ed4c9be76 (patch)
treeeb7df1f196989a93534dd4dd62a89df103ea364e /src/input/inputactionmap.h
parent84c7b06f58eff82b17fd7ccd6708b9e972b40c60 (diff)
downloadManaVerse-8b9829b4fd8956023da96dd8435e255ed4c9be76.tar.gz
ManaVerse-8b9829b4fd8956023da96dd8435e255ed4c9be76.tar.bz2
ManaVerse-8b9829b4fd8956023da96dd8435e255ed4c9be76.tar.xz
ManaVerse-8b9829b4fd8956023da96dd8435e255ed4c9be76.zip
add chat command for insert text into input field.
New chat command: /addtext TEXT Alias: /textadd TEXT
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index c32fec039..f03e81559 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4342,6 +4342,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"kickparty|partykick",
true},
+ {"keyAddText",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::addText,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "addtext|textadd",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H