Wiki Page Content

Revision 3 as of 2010-03-23 01:31:18

Clear message

DRAFT

SDL_EventType

An enumeration of the types of events that can be delivered.

Values

SDL_NOEVENT

unused (do not remove)

SDL_WINDOWEVENT

window state change

SDL_KEYDOWN

keys pressed

SDL_KEYUP

keys released

SDL_TEXTEDITING

keyboard text editing (composition)

SDL_TEXTINPUT

keyboard text input

SDL_MOUSEMOTION

mouse moved

SDL_MOUSEBUTTONDOWN

mouse button pressed

SDL_MOUSEBUTTONUP

mouse button released

SDL_MOUSEWHEEL

mouse wheel motion

SDL_JOYAXISMOTION

joystick axis motion

SDL_JOYBALLMOTION

joystick trackball motion

SDL_JOYHATMOTION

joystick hat position change

SDL_JOYBUTTONDOWN

joystick button pressed

SDL_JOYBUTTONUP

joystick button released

SDL_QUIT

user-requested quit

SDL_SYSWMEVENT

system specific event

SDL_PROXIMITYIN

proximity In event

SDL_PROXIMITYOUT

proximity Out event

SDL_EVENT_RESERVED1

reserved for future use...

SDL_EVENT_RESERVED2

reserved for future use...

SDL_EVENT_RESERVED3

reserved for future use...

green

Events SDL_USEREVENT through SDL_MAXEVENTS-1 are for your use

SDL_USEREVENT = 24,

This last event is only for bounding internal arrays. It is the number of bits in the event mask datatype -- Uint32.

SDL_NUMEVENTS = 32

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryEnum

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit