[SDL] GetCursorPos equivalent in SDL?

Mars_999 mars999 at sio.midco.net
Wed Apr 11 12:18:21 PDT 2007


Nevermind I got it.

 

void SDL_WarpMouse(Uint16 x, Uint16 y);

 

Uint8 SDL_GetMouseState(int *x, int *y);

 

 

  _____  

From: Mars_999 [mailto:mars999 at sio.midco.net] 
Sent: Wednesday, April 11, 2007 2:03 PM
To: 'sdl at lists.libsdl.org'
Subject: GetCursorPos equivalent in SDL?

 

I would like to do that same thing GetCursorPos() and SetCursorPos() does in
win32 in SDL so I can keep it cross platform.

 

Thanks

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070411/dbbe8bba/attachment.html 


More information about the SDL mailing list