diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 11 | ||||
-rw-r--r-- | src/input/pages/other.cpp | 6 |
3 files changed, 17 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 292f5a812..3d5353deb 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -393,6 +393,7 @@ namespace InputAction ADD_ATTACK, REMOVE_ATTACK, ADD_IGNORE_ATTACK, + DUMP, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 65cf48391..ff79cafb3 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3306,7 +3306,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "addignoreattack", - true} + true}, + {"keyDump", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::dump, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "dump", + false} }; #endif // INPUT_INPUTACTIONMAP_H diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp index 4931c1216..6bafbf8c3 100644 --- a/src/input/pages/other.cpp +++ b/src/input/pages/other.cpp @@ -280,6 +280,12 @@ SetupActionData setupActionDataOther[] = "", }, { + // TRANSLATORS: input action name + N_("Dump debug information"), + InputAction::DUMP, + "", + }, + { "", InputAction::NO_VALUE, "" |