eisebs
04-07-2003, 01:00 PM
Hello Everyone!
I have a short question on mouse beaviour in glut. I want to have a rolling ball in my game that the user can control directly by mouse movement like in the atari st game oxyd. Now my problem is that when I hide the mouse, there's still the screen bounderies, meaning that I can only detect mouse movement _within_ the screen or window.
Is it somehow possible in glut to get relative mouse coordinates or to set the mouse coordinates back to the center abter reading them?
And if it isn't, could I do it via DirectInput?
thanks a lot in advance
Robin
I have a short question on mouse beaviour in glut. I want to have a rolling ball in my game that the user can control directly by mouse movement like in the atari st game oxyd. Now my problem is that when I hide the mouse, there's still the screen bounderies, meaning that I can only detect mouse movement _within_ the screen or window.
Is it somehow possible in glut to get relative mouse coordinates or to set the mouse coordinates back to the center abter reading them?
And if it isn't, could I do it via DirectInput?
thanks a lot in advance
Robin