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 258c3c3e7..3fc39aaf3 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -357,6 +357,7 @@ namespace InputAction NEUTRAL, BLACKLIST, ENEMY, + ERASE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index e3d17710c..ebadff15d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2982,6 +2982,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "enemy", + true}, + {"keyErase", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::chatErase, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "erase", true} }; |