SDL_MouseMotionEvent Struct Reference

Mouse motion event structure (event.motion.*). More...

#include <SDL_events.h>


Data Fields

Uint8 type
SDL_WindowID windowID
Uint8 which
Uint8 state
int x
int y
int z
int pressure
int pressure_max
int pressure_min
int rotation
int tilt
int cursor
int xrel
int yrel


Detailed Description

Mouse motion event structure (event.motion.*).

Field Documentation

int cursor

The cursor being used in the event

int pressure

Pressure reported by tablets

Maximum value of the pressure reported by the device

Minimum value of the pressure reported by the device

int rotation

For future use

The current button state

int tilt

For future use

SDL_MOUSEMOTION

The mouse device index

The window with mouse focus, if any

int x

X coordinate, relative to window

int xrel

The relative motion in the X direction

int y

Y coordinate, relative to window

int yrel

The relative motion in the Y direction

int z

Z coordinate, for future use


The documentation for this struct was generated from the following file:

Generated on Mon Sep 21 21:32:25 2009 for Simple DirectMedia Layer by  doxygen 1.5.8