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.h9
-rw-r--r--src/input/pages/other.cpp6
3 files changed, 16 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index f0f999d2e..8d4051fc0 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -346,6 +346,7 @@ namespace InputAction
CHAT_ANNOUNCE,
IPC_TOGGLE,
WHERE,
+ WHO,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 241ed632a..b7a7fcff7 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -2883,6 +2883,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"where",
+ false},
+ {"keyWho",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::who,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "who",
false}
};
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index d1a7d0bfd..e60b2addd 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -203,6 +203,12 @@ SetupActionData setupActionDataOther[] =
},
{
// TRANSLATORS: input action name
+ N_("Show online players number in chat"),
+ InputAction::WHO,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
N_("Show onscreen keyboard"),
InputAction::SHOW_KEYBOARD,
"",