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 f7b061e88..fb5db9913 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -499,6 +499,7 @@ namespace InputAction CHAT_ADD, WHISPER_TEXT, NAVIGATE_TO, + CAMERA_MOVE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index e9457058b..4b9d61047 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4234,6 +4234,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "navigateto", true}, + {"keyCameraMove", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::moveCamera, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "movecamera|cameramove", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |