LWJGL: Mouse position and movement [SOLVED]

Hey,

i’m back, working on my project (that i posted here) and i start newly.
I decided to do 3D with 3rd person view, so i rewritted my code (also because of programmable pipelines). Everything goes fine except one annoying thing. MOUSE.

It should work as any other 3rd person game, and particullary it does, but i’m limited with mouse movement (screen size). When i’m rotating the player i’m just taking getDX() coords, but when i want rotate instantly, my mouse goes off the window and stops at the border of screen… How to do, that mouse cursor dissapear (like in every FPS or 3rd person game) but movement actually still works. I tried to set cursor position to 0,0, but then getDX is clearly useless…

Is there any way how to deal with this? Or better solution, how to rotate players model than through getDX()? Thank you.