Re: Capturing relative mouse input (for 1st person shooters etc)
Posted by
GiGurra on
Jul 19, 2012; 2:33pm
URL: https://forum.jogamp.org/Capturing-relative-mouse-input-for-1st-person-shooters-etc-tp4025593p4025597.html
Ok maybe I wasn't clear enough.
I know how to get mouse events. What I do NOT know is how to get relative mouse movement events, I only know how to get events which tell me absolute x,y coordinates, so that I do not manually need to deal with wraparound
Here is a dx-example :
http://www.directxtutorial.com/tutorial9/e-directinput/dx9e2.aspxOr a lwjgl approach in their class "Mouse":
setAbsolute(boolean ...)