mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-21 13:20:54 +00:00
Use gamepad cursor speed setting
This commit is contained in:
parent
8cafcf702f
commit
4067e10f3f
@ -94,7 +94,7 @@ namespace MWInput
|
||||
// We keep track of our own mouse position, so that moving the mouse while in
|
||||
// game mode does not move the position of the GUI cursor
|
||||
float uiScale = MWBase::Environment::get().getWindowManager()->getScalingFactor();
|
||||
const float gamepadCursorSpeed = Settings::input().mEnableController;
|
||||
const float gamepadCursorSpeed = Settings::input().mGamepadCursorSpeed;
|
||||
const float xMove = xAxis * dt * 1500.0f / uiScale * gamepadCursorSpeed;
|
||||
const float yMove = yAxis * dt * 1500.0f / uiScale * gamepadCursorSpeed;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user