Pinning cursor to the middle of the screen?
<p>I'm trying to make a 3D game sort of like minecraft but I don't seem to know how I can make the mouse pin to the center of the screen? I'm using lwjgl to handle mouse inputs. I just want the mouse cursor to stay in the middle of the window that I have created. I saw that there was a <code>Mouse.grab</code> method in the lwjgl mouse class, but when I set it to true, it seems that it doesn't do anything.</p>