summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h11
-rw-r--r--src/input/pages/windows.cpp6
3 files changed, 17 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 77bed24b7..f049d209f 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -486,6 +486,7 @@ namespace InputAction
PET_SET_NAME,
HOMUNCULUS_SET_NAME,
HOMUNCULUS_FIRE,
+ WINDOW_BANK,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 26a7f4a17..34171954c 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4115,7 +4115,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"firehomunculus|homunculusfire",
- false}
+ false},
+ {"keyWindowBank",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT | Input::GRP_GUI,
+ &Actions::bankWindowShow,
+ InputAction::NO_VALUE, 50,
+ InputCondition::SHORTCUT0,
+ "bank|openbank",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H
diff --git a/src/input/pages/windows.cpp b/src/input/pages/windows.cpp
index f16b1b34f..32fc18c49 100644
--- a/src/input/pages/windows.cpp
+++ b/src/input/pages/windows.cpp
@@ -51,6 +51,12 @@ SetupActionData setupActionDataWindows[] =
},
{
// TRANSLATORS: input action name
+ N_("Bank Window"),
+ InputAction::WINDOW_BANK,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
N_("Help Window"),
InputAction::WINDOW_HELP,
"",