SDL_MouseMotionEvent(3) | SDL API Reference | SDL_MouseMotionEvent(3) |
NAME
SDL_MouseMotionEvent - Mouse motion event structureSTRUCTURE DEFINITION
typedef struct{
Uint8 type;
Uint8 state;
Uint16 x, y;
Sint16 xrel, yrel;
} SDL_MouseMotionEvent;
STRUCTURE DATA
- type
- SDL_MOUSEMOTION
- state
- The current button state
- x, y
- The X/Y coordinates of the mouse
- xrel, yrel
- Relative motion in the X/Y direction
DESCRIPTION
SDL_MouseMotionEvent is a member of the SDL_Event union and is used when an event of type SDL_MOUSEMOTION is reported.SEE ALSO
SDL_Event, SDL_MouseButtonEventTue 11 Sep 2001, 22:59 | SDL |