sans-hubris
10-30-2002, 06:49 PM
Is there a way, in GLUT, to grab a mouse and hold it within a window?
Basically, what I'm trying to do is translate a mouse movement into a left or right movement within this game I'm writing. Right now, it can detect the mouse movement, except for when it goes outside the window, and I don't know how to re-position the mouse cursor.
Basically, what I'm trying to do is translate a mouse movement into a left or right movement within this game I'm writing. Right now, it can detect the mouse movement, except for when it goes outside the window, and I don't know how to re-position the mouse cursor.