From 49f2615d2b63d326fcb4fc0382eeb60c0689c9c0 Mon Sep 17 00:00:00 2001 From: Justin Ivany <1406666+jrivany@users.noreply.github.com> Date: Mon, 1 Jul 2019 17:32:20 -0300 Subject: [PATCH] Fix scrolling with controller on gui --- apps/openmw/mwinput/inputmanagerimp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index d66cc6577..6a6ac20a8 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -560,7 +560,7 @@ namespace MWInput // game mode does not move the position of the GUI cursor float xmove = xAxis * dt * 1500.0f * mInvUiScalingFactor; float ymove = yAxis * dt * 1500.0f * mInvUiScalingFactor; - if (xmove != 0|| ymove != 0) + if (xmove != 0|| ymove != 0 || zAxis != 0) { mGuiCursorX += xmove; mGuiCursorY += ymove;