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 e2fcae031..c020b3b5b 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -495,6 +495,7 @@ namespace InputAction WHISPER2, GUILD, NUKE, + USE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 1ae660fb0..f51f5f6f5 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4198,6 +4198,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "nuke", true}, + {"keyUse", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::useItem, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "use|useitem", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |