mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-08 08:41:25 +00:00
Use gamepad cursor speed setting
This commit is contained in:
parent
8cafcf702f
commit
4067e10f3f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue