Update all values for mouse axis.

This commit is contained in:
LunaMoo 2019-07-15 02:45:08 +02:00
parent 27608349ee
commit 1f64e81f9e

View file

@ -246,8 +246,8 @@ void WindowsHost::PollControllers() {
axisY.value = my;
if (GetUIState() == UISTATE_INGAME || g_Config.bMapMouse) {
if (fabsf(mx) > 0.01f) NativeAxis(axisX);
if (fabsf(my) > 0.01f) NativeAxis(axisY);
NativeAxis(axisX);
NativeAxis(axisY);
}
}