Topic: To everyone who is experiencing mouse lag on Linux
Hey community!
I found a way to stop the mouse lag found when using the SponzaFPS demo on Linux.
It seems that centering the cursor takes too long for providing getAxis with the correct data.
The workaround is replacing
mx = getAxis("MOUSE_X")
my = getAxis("MOUSE_Y")
with
window = getWindowScale()
mx = window[1] / 2
my = window[2] / 2
in the MouseInput.lua file so that the values do not depend on how fast the xserver resets the cursor.
Sponk