SDL_Event Union Reference

General event structure. More...

#include <SDL_events.h>


Data Fields

Uint8 type
SDL_WindowEvent window
SDL_KeyboardEvent key
SDL_TextEditingEvent edit
SDL_TextInputEvent text
SDL_MouseMotionEvent motion
SDL_MouseButtonEvent button
SDL_MouseWheelEvent wheel
SDL_JoyAxisEvent jaxis
SDL_JoyBallEvent jball
SDL_JoyHatEvent jhat
SDL_JoyButtonEvent jbutton
SDL_QuitEvent quit
SDL_UserEvent user
SDL_SysWMEvent syswm
SDL_ProximityEvent proximity
SDL_ActiveEvent active
SDL_ResizeEvent resize


Detailed Description

General event structure.

Field Documentation

Mouse button event data

Text editing event data

Joystick axis event data

Joystick ball event data

Joystick button event data

Joystick hat event data

Keyboard event data

Mouse motion event data

SDL_ProximityEvent proximity

Proximity In or Out event

Quit request event data

System dependent window event data

Text input event data

Event type, shared with all events

Custom event data

Mouse wheel event data

Window event data


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

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