|
Size: 2113
Comment: complete page from previous
|
Size: 2263
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
Related Structures
