| 54 | } |
| 55 | |
| 56 | Uint32 SDL_GetGlobalMouseState(int *x, int *y) |
| 57 | { |
| 58 | LOGTRACE(LCF_SDL | LCF_MOUSE); |
| 59 | /* We don't support global mouse state. We consider that the window |
| 60 | * is located at the bottom left of the screen and just output the |
| 61 | * same result as SDL_GetMouseState(). |
| 62 | * Hopefully games won't use this function anyway. |
| 63 | */ |
| 64 | return SDL_GetMouseState(x, y); |
| 65 | } |
| 66 | |
| 67 | Uint32 SDL_GetRelativeMouseState(int *x, int *y) |
| 68 | { |
no test coverage detected