[SDL] SDL_GetRelativeMouseState() problem
braddabug at comcast.net
Tue Mar 18 20:14:01 PST 2003
I'm using SDL_GetRelativeMouseState() to get the mouse coord deltas to
use in a 1st person 3D game. But I'm having a problem dealing with the
possibility that the mouse won't be over the window when the game
starts. When the mouse is moved over the window the mouse deltas are
whatever the mouse coords of the first place the cursor enters the
window. In other words, BIG.
How can I get around that problem? And is this a "feature" or a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL