summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-08 23:15:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-08 23:15:04 +0300
commit5bbad4bc6bb8a6de5e259ad56a77ac34784fdb77 (patch)
tree8c88308918a6d707640c5c314d80b40ac45e434d /src/input/inputactionmap.h
parentf019a9e52d0a3f5ca23681d5eb36bb2e56d37064 (diff)
downloadmanaplus-5bbad4bc6bb8a6de5e259ad56a77ac34784fdb77.tar.gz
manaplus-5bbad4bc6bb8a6de5e259ad56a77ac34784fdb77.tar.bz2
manaplus-5bbad4bc6bb8a6de5e259ad56a77ac34784fdb77.tar.xz
manaplus-5bbad4bc6bb8a6de5e259ad56a77ac34784fdb77.zip
Add open context menu action.
No key assigned. New chat command: contextmenu
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index afa66df87..585334713 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4143,6 +4143,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::NOINPUT | InputCondition::INGAME,
"nextinvtab",
false},
+ {"keyContextMenu",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::contextMenu,
+ InputAction::NO_VALUE, 50,
+ InputCondition::NOINPUT | InputCondition::NOAWAY
+ | InputCondition::NOMODAL | InputCondition::INGAME,
+ "contextmenu",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H