[SDL] I want to find the position of the mouse...

Manuel García Cabrera manugarciac5 at yahoo.com.ar
Mon Jun 4 16:32:49 PDT 2007


I need to find the mouse coordinates. This is what I'm doing:

SDL_Cursor* cursor;
cursor = SDL_GetCursor();


However, cursor->hot_x and cursor->hot_y always contain 0... What am I
doing wrong?


More information about the SDL mailing list