Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-03-23 01:31:18
Size: 2113
Editor: SheenaSmith
Comment: complete page from previous
Revision 4 as of 2010-07-25 23:41:18
Size: 2263
Editor: SheenaSmith
Comment: update formatting
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
||SDL_EVENT_RESERVED1||reserved for future use...||
||SDL_EVENT_RESERVED2||reserved for future use...||
||SDL_EVENT_RESERVED3||reserved for future use...||
||<style="color: #808080;">SDL_EVENT_RESERVED1||<style="color: #808080;">reserved for future use...||
||<style="color: #808080;">SDL_EVENT_RESERVED2||<style="color: #808080;">reserved for future use...||
||<style="color: #808080;">SDL_EVENT_RESERVED3||<style="color: #808080;">reserved for future use...||

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

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