diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 510e42793..cdfe410fa 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -410,6 +410,7 @@ namespace InputAction TEST_SDL_FONT, ENABLE_HIGHLIGHT, DISABLE_HIGHLIGHT, + DONT_REMOVE_NAME, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index d395d83b0..dad0f0cc1 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3467,6 +3467,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "disablehighlight", + false}, + {"keyDontRemoveName", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::dontRemoveName, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "dontremovename", false} }; |