   Cursor manipulation in SDL
  Is there a way to actually place the (mouse?)cursor at the center of the screen( or window )?I was implementing a basic camera. Therefore I was using mouse relative movements to implement camera rotations. But I came to the conclusion I could achieve better results if I were able to place the cursor at the center of the screen and then only, consider the relative mouse movement for the next rendering. Is there a way( command ) to achieve that with SDL?Thanks for helping.   
  Well, when browsing the SDL documentation, I found:Quote:NameSDL_WarpMouse -- Set the position of the mouse cursor.Synopsis#include "SDL.h"void SDL_WarpMouse(Uint16 x, Uint16 y);DescriptionSet the position of the mouse cursor (generates a mouse motion event). Yes, you're right: I shouldn't be that lazy!   