Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2010-10-13 22:14:38
Size: 2792
Editor: SheenaSmith
Comment: row color test
Revision 11 as of 2010-10-14 21:26:07
Size: 2868
Editor: SheenaSmith
Comment: update content - table sections
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
||||<bgcolor="#F8F8F8">''Application events''|| ||||<bgcolor="#F5F5F5">''Application events''||
Line 14: Line 14:
||||<bgcolor="#F0F0F0">''Window events''|| ||||<bgcolor="#F5F5F5">''Window events''||
Line 17: Line 17:
||||<bgcolor="#E0E0E0">''Keyboard events''|| ||||<bgcolor="#F5F5F5">''Keyboard events''||
Line 22: Line 22:
||||<bgcolor="#D0D0D0">''Mouse events''|| ||||<bgcolor="#F5F5F5">''Mouse events''||
Line 27: Line 27:
||||<bgcolor="#C0C0C0">''Tablet or multiple mice input device events''|| ||||<bgcolor="#F5F5F5">''Tablet or multiple mice input device events''||
Line 34: Line 34:
||||''Joystick events''|| ||||<bgcolor="#F5F5F5">''Joystick events''||
Line 40: Line 40:
||||''Clipboard events''|| ||||<bgcolor="#F5F5F5">''Clipboard events''||
Line 42: Line 42:
||||''Obsolete events''|| ||||<bgcolor="#F5F5F5">''Obsolete events''||
Line 46: Line 46:
||||''These are for your use, and should be allocated with [[SDL_RegisterEvents]]()''|| ||||<bgcolor="#F5F5F5">''These are for your use, and should be allocated with [[SDL_RegisterEvents]]()''||

DRAFT

SDL_EventType

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

Values

SDL_FIRSTEVENT

unused (do not remove)

Application events

SDL_QUIT

user-requested quit

Window events

SDL_WINDOWEVENT

window state change

SDL_SYSWMEVENT

system specific event

Keyboard events

SDL_KEYDOWN

keys pressed

SDL_KEYUP

keys released

SDL_TEXTEDITING

keyboard text editing (composition)

SDL_TEXTINPUT

keyboard text input

Mouse events

SDL_MOUSEMOTION

mouse moved

SDL_MOUSEBUTTONDOWN

mouse button pressed

SDL_MOUSEBUTTONUP

mouse button released

SDL_MOUSEWHEEL

mouse wheel motion

Tablet or multiple mice input device events

SDL_INPUTMOTION

input moved

SDL_INPUTBUTTONDOWN

input button pressed

SDL_INPUTBUTTONUP

input button released

SDL_INPUTWHEEL

input wheel motion

SDL_INPUTPROXIMITYIN

input pen entered proximity

SDL_INPUTPROXIMITYOUT

input pen left proximity

Joystick events

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

Clipboard events

SDL_CLIPBOARDUPDATE

the clipboard changed

Obsolete events

SDL_EVENT_COMPAT1

SDL 1.2 events for compatibility

SDL_EVENT_COMPAT2

SDL 1.2 events for compatibility

SDL_EVENT_COMPAT3

SDL 1.2 events for compatibility

These are for your use, and should be allocated with SDL_RegisterEvents()

SDL_USEREVENT

a user-specified event

SDL_LASTEVENT

only for bounding internal arrays

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryEnum, CategoryEvents

None: SDL_EventType (last edited 2016-10-13 20:32:06 by PhilippWiesemann)

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