diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:39:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:39:28 +0300 |
commit | 0ae262d137e24c44064f59102ff6b72b19c60b71 (patch) | |
tree | bc03b97a2c0fd007f6076daf18ce6e56c5630a49 /src/input/inputactionmap.h | |
parent | a7c2351c708c38bf020e8e1250b6a78cb2b6f89e (diff) | |
download | mv-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.gz mv-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.bz2 mv-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.xz mv-0ae262d137e24c44064f59102ff6b72b19c60b71.zip |
Move chat command /toggle into actions.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 11 |
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 |