1SDL_GetRelativeMouseState(3)   SDL API Reference  SDL_GetRelativeMouseState(3)
2
3
4

NAME

6       SDL_GetRelativeMouseState- Retrieve the current state of the mouse
7

SYNOPSIS

9       #include "SDL.h"
10
11       Uint8 SDL_GetRelativeMouseState(int *x, int *y);
12

DESCRIPTION

14       The  current button state is returned as a button bitmask, which can be
15       tested using the SDL_BUTTON(X) macros, and x  and  y  are  set  to  the
16       change  in  the  mouse position since the last call to SDL_GetRelativeā€
17       MouseState or since event initialization. You can pass NULL for  either
18       x or y.
19

SEE ALSO

21       SDL_GetMouseState
22
23
24
25SDL                         Tue 11 Sep 2001, 22:59SDL_GetRelativeMouseState(3)
Impressum