summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 13:39:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 13:39:28 +0300
commit0ae262d137e24c44064f59102ff6b72b19c60b71 (patch)
treebc03b97a2c0fd007f6076daf18ce6e56c5630a49 /src/input/inputactionmap.h
parenta7c2351c708c38bf020e8e1250b6a78cb2b6f89e (diff)
downloadplus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.gz
plus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.bz2
plus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.xz
plus-0ae262d137e24c44064f59102ff6b72b19c60b71.zip
Move chat command /toggle into actions.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 368518afc..289490723 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3045,7 +3045,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"me",
- true}
+ true},
+ {"keyToggle",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::toggle,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "toggle",
+ false}
};
#endif // INPUT_INPUTACTIONMAP_H