[SDL] SDL_SetRelativeMouseMode Starting Position

Naith Danielane85 at hotmail.com
Mon Sep 1 11:15:40 PDT 2014

Nothing weird there. So what you want to do is position the mouse pointer in the middle of the window even though you're moving the mouse, like in a FPS game. Correct?
How do you know that the mouse pointer is moved to the upper left corner? The mouse pointer isn't visible when you're using SDL_SetRelativeMouseMode. Is your m_MousePositionX and m_MousePositionY variables telling you this information?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20140901/f933d592/attachment-0002.htm>

More information about the SDL mailing list