mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-10 13:40:08 -06:00
Merge pull request #1593 from OpenSpace/feature/space-mouse
Feature/space mouse
This commit is contained in:
@@ -496,13 +496,17 @@ void NavigationHandler::loadNavigationState(const std::string& filepath) {
|
||||
void NavigationHandler::setJoystickAxisMapping(int axis,
|
||||
JoystickCameraStates::AxisType mapping,
|
||||
JoystickCameraStates::AxisInvert shouldInvert,
|
||||
JoystickCameraStates::AxisNormalize shouldNormalize)
|
||||
JoystickCameraStates::AxisNormalize shouldNormalize,
|
||||
bool isSticky,
|
||||
double sensitivity)
|
||||
{
|
||||
_orbitalNavigator.joystickStates().setAxisMapping(
|
||||
axis,
|
||||
mapping,
|
||||
shouldInvert,
|
||||
shouldNormalize
|
||||
shouldNormalize,
|
||||
isSticky,
|
||||
sensitivity
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user