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 7a9dcaecf..aa7cd90a4 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -377,6 +377,7 @@ namespace InputAction PSEUDO_AWAY, FOLLOW, NAVIGATE, + IMITATION, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index ca359804b..01953a71d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3162,6 +3162,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "navigate", + true}, + {"keyImitation", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::imitation, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "imitation", true} }; |