|
Size: 1811
Comment: removed comment
|
Size: 2113
Comment: complete page from previous
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| = SDL_Enumeration = | = SDL_EventType = |
| Line 11: | Line 11: |
| ||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...|| |
||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...|| <<Color2(green,Not sure what to do with this part of the enum. Does it belong here or not?)>> 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 |
| Line 43: | Line 52: |
| [[SDL_KeyboardEvent]] [[SDL_TextEditingEvent]] [[SDL_TextInputEvent]] [[SDL_MouseMotionEvent]] [[SDL_MouseButtonEvent]] [[SDL_MouseWheelEvent]] [[SDL_JoyAxisEvent]] [[SDL_JoyBallEvent]] [[SDL_JoyHatEvent]] [[SDL_JoyButtonEvent]] [[SDL_QuitEvent]] [[SDL_UserEvent]] [[SDL_SysWMEvent]] [[SDL_ProximityEvent]] |
. [[SDL_JoyAxisEvent]] . [[SDL_JoyBallEvent]] . [[SDL_JoyButtonEvent]] . [[SDL_JoyHatEvent]] . [[SDL_KeyboardEvent]] . [[SDL_MouseButtonEvent]] . [[SDL_MouseMotionEvent]] . [[SDL_MouseWheelEvent]] . [[SDL_ProximityEvent]] . [[SDL_QuitEvent]] . [[SDL_SysWMEvent]] . [[SDL_TextEditingEvent]] . [[SDL_TextInputEvent]] . [[SDL_UserEvent]] |
| Line 59: | Line 68: |
| .[[SDL_FunctionLeaveSectionIfEmpty]] | |
| Line 62: | Line 70: |
| [[CategoryEnum]] ---- |
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
