Hey, I have a problem.
I might use
which is fine, but in the case where I want to be able to use the mouse outside the window:
Cursor emptyCursor = new Cursor(1, 1, 0, 0, 1, BufferUtils.createIntBuffer(1), null);
taken from http://lwjgl.org/forum/index.php?topic=594.0
This doesn't actually completely hide the cursor. It creates a 1x1 BLACK pixel cursor.
I have tried to create an int buffer that contains a single integer with no alpha (eg new Color(0,0,0,0).getRGB()), this doesn't work.
Anyone have any ideas?