diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 | ||||
-rw-r--r-- | src/input/pages/other.cpp | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index e9813d3d8..9385ae765 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -366,6 +366,7 @@ namespace InputAction ME, TOGGLE, PRESENT, + PRINT_ALL, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index ff7b3bf6e..b55887c65 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3063,6 +3063,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "present", + false}, + {"keyPrintAll", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::printAll, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "all", false} }; diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 46a1eb286..c7db9c05d 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -232,6 +232,12 @@ SetupActionData setupActionDataOther[] = "", }, { + // TRANSLATORS: input action name + N_("Print all visible beings in chat"), + InputAction::PRINT_ALL, + "", + }, + { "", InputAction::NO_VALUE, "" |