Is there an easy way to position the mouse.
Lets say that I want to position it in my program at pixel coordinate 0,0 or something.
Steve
Is there an easy way to position the mouse.
Lets say that I want to position it in my program at pixel coordinate 0,0 or something.
Steve
could you be a little more specific? what window system are you using? win32? macos? x? or are you using glut?
For windows just use:
SetCursorPos(0,0);
But you’ll have to look in the glut docs if your using glut. Sorry, I always tend to do things the hard way.
wire