Quoting the org.lwjgl.input.Mouse.getDY() javadoc:
Movement on the y axis since last time getDY() was called. Only valid when the mouse is grabbed.
The method also reports the delta if the mouse isn't grabbed (and personally I prefer the this behaviour
), so the javadoc should be changed. The same with getDX() of course.
Rene