summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-21 23:53:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-22 12:23:26 +0300
commit5dd673aa6abe2a070de45388a885d03fcc037d70 (patch)
treeb5bf80507501e7b77c4dbdbfc39989ebd6209a20 /src/input
parent66bc17a4099842f9a54c13c183842f561d63963f (diff)
downloadplus-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.gz
plus-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.bz2
plus-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.xz
plus-5dd673aa6abe2a070de45388a885d03fcc037d70.zip
allow open updater window from inside game.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/keyboarddata.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 5c3611233..963e43750 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -339,6 +339,7 @@ namespace InputAction
GUI_F11,
GUI_F12,
WINDOW_ABOUT,
+ WINDOW_UPDATER,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index 636aa9268..76e5a15ab 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -2202,6 +2202,13 @@ static const KeyData keyData[InputAction::TOTAL] = {
&ActionManager::aboutWindowShow,
InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT0},
+ {"keyWindowUpdater",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT | Input::GRP_GUI,
+ &ActionManager::updaterWindowShow,
+ InputAction::NO_VALUE, 50,
+ InputCondition::GAME}
};
#endif // INPUT_KEYBOARDDATA_H