MCPcopy Create free account
hub / github.com/clementgallet/libTAS / SDL_GetGlobalMouseState

Function SDL_GetGlobalMouseState

src/library/inputs/sdlpointer.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56Uint32 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
67Uint32 SDL_GetRelativeMouseState(int *x, int *y)
68{

Callers 1

Calls 1

SDL_GetMouseStateFunction · 0.85

Tested by

no test coverage detected