Go to the source code of this file.
|
enum | {
SDL_QUERY = -1
,
SDL_IGNORE = 0
,
SDL_DISABLE = 0
,
SDL_ENABLE = 1
,
SDL_RELEASED = 0
,
SDL_PRESSED = 1
} |
|
enum | SDL_EventType {
SDL_FIRSTEVENT = 0
,
SDL_DUMMYEVENT = 0
,
SDL_QUIT = 0x100
,
SDL_WINDOWEVENT = 0x200
,
SDL_SYSWMEVENT
,
SDL_KEYDOWN = 0x300
,
SDL_KEYUP
,
SDL_TEXTEDITING
,
SDL_TEXTINPUT
,
SDL_MOUSEMOTION = 0x400
,
SDL_MOUSEBUTTONDOWN
,
SDL_MOUSEBUTTONUP
,
SDL_MOUSEWHEEL
,
SDL_JOYAXISMOTION = 0x600
,
SDL_JOYBALLMOTION
,
SDL_JOYHATMOTION
,
SDL_JOYBUTTONDOWN
,
SDL_JOYBUTTONUP
,
SDL_JOYDEVICEADDED
,
SDL_JOYDEVICEREMOVED
,
SDL_CONTROLLERAXISMOTION = 0x650
,
SDL_CONTROLLERBUTTONDOWN
,
SDL_CONTROLLERBUTTONUP
,
SDL_CONTROLLERDEVICEADDED
,
SDL_CONTROLLERDEVICEREMOVED
,
SDL_CONTROLLERDEVICEREMAPPED
,
SDL_FINGERDOWN = 0x700
,
SDL_FINGERUP
,
SDL_FINGERMOTION
,
SDL_DROPFILE = 0x1000
,
SDL_DROPTEXT
,
SDL_DROPBEGIN
,
SDL_DROPCOMPLETE
,
SDL_AUDIODEVICEADDED = 0x1100
,
SDL_AUDIODEVICEREMOVED
,
SDL_ACTIVEEVENT = 0x2000
,
SDL_USEREVENT = 0x8000
,
SDL_LASTEVENT = 0xFFFF
} |
|
enum | {
SDL_HAT_CENTERED = 0x00
,
SDL_HAT_UP = 0x01
,
SDL_HAT_RIGHT = 0x02
,
SDL_HAT_DOWN = 0x04
,
SDL_HAT_LEFT = 0x08
,
SDL_HAT_RIGHTUP = (SDL_HAT_RIGHT | SDL_HAT_UP)
,
SDL_HAT_RIGHTDOWN = (SDL_HAT_RIGHT | SDL_HAT_DOWN)
,
SDL_HAT_LEFTUP = (SDL_HAT_LEFT | SDL_HAT_UP)
,
SDL_HAT_LEFTDOWN = (SDL_HAT_LEFT | SDL_HAT_DOWN)
} |
|
enum | {
SDL_BUTTON_LEFT
,
SDL_BUTTON_MIDDLE
,
SDL_BUTTON_RIGHT
,
SDL_BUTTON_X1
,
SDL_BUTTON_X2
} |
|
enum | SDL_WindowEventID {
SDL_WINDOWEVENT_NONE
,
SDL_WINDOWEVENT_SHOWN
,
SDL_WINDOWEVENT_HIDDEN
,
SDL_WINDOWEVENT_EXPOSED
,
SDL_WINDOWEVENT_MOVED
,
SDL_WINDOWEVENT_RESIZED
,
SDL_WINDOWEVENT_SIZE_CHANGED
,
SDL_WINDOWEVENT_MINIMIZED
,
SDL_WINDOWEVENT_MAXIMIZED
,
SDL_WINDOWEVENT_RESTORED
,
SDL_WINDOWEVENT_ENTER
,
SDL_WINDOWEVENT_LEAVE
,
SDL_WINDOWEVENT_FOCUS_GAINED
,
SDL_WINDOWEVENT_FOCUS_LOST
,
SDL_WINDOWEVENT_CLOSE
} |
|
enum | SDL_SystemCursor {
SDL_SYSTEM_CURSOR_ARROW
,
SDL_NUM_SYSTEM_CURSORS
} |
|
enum | {
SDL_APPMOUSEFOCUS = 1 << 0
,
SDL_APPINPUTFOCUS = 1 << 1
,
SDL_APPACTIVE = 1 << 2
} |
|
enum | SDL_eventaction {
SDL_ADDEVENT
,
SDL_PEEKEVENT
,
SDL_GETEVENT
} |
|
◆ SDL_PollEvent
◆ SDL_WaitEventTimeout
◆ SDL_WaitEvent
◆ SDL_FlushEvent
◆ SDL_EventState
◆ SDL_PumpEvents
◆ SDL_TEXTINPUTEVENT_TEXT_SIZE
#define SDL_TEXTINPUTEVENT_TEXT_SIZE 32 |
◆ SDL_KeyboardEvent
◆ SDL_JoystickID
◆ SDL_Joystick
◆ SDL_JoyHatEvent
◆ SDL_JoyAxisEvent
◆ SDL_JoyBallEvent
◆ SDL_JoyButtonEvent
◆ SDL_JoyDeviceEvent
◆ SDL_ControllerDeviceEvent
◆ SDL_ControllerButtonEvent
◆ SDL_ControllerAxisEvent
◆ SDL_ControllerTouchpadEvent
◆ SDL_ControllerSensorEvent
◆ SDL_MouseMotionEvent
◆ SDL_MouseButtonEvent
◆ SDL_MouseWheelEvent
◆ SDL_WindowEvent
◆ SDL_TextInputEvent
◆ SDL_DropEvent
◆ SDL_UserEvent
◆ SDL_Cursor
◆ SDL_SystemCursor
◆ SDL_ActiveEvent
◆ SDL_eventaction
◆ SDL_Event
◆ anonymous enum
Enumerator |
---|
SDL_QUERY | |
SDL_IGNORE | |
SDL_DISABLE | |
SDL_ENABLE | |
SDL_RELEASED | |
SDL_PRESSED | |
◆ SDL_EventType
Enumerator |
---|
SDL_FIRSTEVENT | |
SDL_DUMMYEVENT | |
SDL_QUIT | |
SDL_WINDOWEVENT | |
SDL_SYSWMEVENT | |
SDL_KEYDOWN | |
SDL_KEYUP | |
SDL_TEXTEDITING | |
SDL_TEXTINPUT | |
SDL_MOUSEMOTION | |
SDL_MOUSEBUTTONDOWN | |
SDL_MOUSEBUTTONUP | |
SDL_MOUSEWHEEL | |
SDL_JOYAXISMOTION | |
SDL_JOYBALLMOTION | |
SDL_JOYHATMOTION | |
SDL_JOYBUTTONDOWN | |
SDL_JOYBUTTONUP | |
SDL_JOYDEVICEADDED | |
SDL_JOYDEVICEREMOVED | |
SDL_CONTROLLERAXISMOTION | |
SDL_CONTROLLERBUTTONDOWN | |
SDL_CONTROLLERBUTTONUP | |
SDL_CONTROLLERDEVICEADDED | |
SDL_CONTROLLERDEVICEREMOVED | |
SDL_CONTROLLERDEVICEREMAPPED | |
SDL_FINGERDOWN | |
SDL_FINGERUP | |
SDL_FINGERMOTION | |
SDL_DROPFILE | |
SDL_DROPTEXT | |
SDL_DROPBEGIN | |
SDL_DROPCOMPLETE | |
SDL_AUDIODEVICEADDED | |
SDL_AUDIODEVICEREMOVED | |
SDL_ACTIVEEVENT | |
SDL_USEREVENT | |
SDL_LASTEVENT | |
◆ anonymous enum
Enumerator |
---|
SDL_HAT_CENTERED | |
SDL_HAT_UP | |
SDL_HAT_RIGHT | |
SDL_HAT_DOWN | |
SDL_HAT_LEFT | |
SDL_HAT_RIGHTUP | |
SDL_HAT_RIGHTDOWN | |
SDL_HAT_LEFTUP | |
SDL_HAT_LEFTDOWN | |
◆ anonymous enum
Enumerator |
---|
SDL_BUTTON_LEFT | |
SDL_BUTTON_MIDDLE | |
SDL_BUTTON_RIGHT | |
SDL_BUTTON_X1 | |
SDL_BUTTON_X2 | |
◆ SDL_WindowEventID
Enumerator |
---|
SDL_WINDOWEVENT_NONE | |
SDL_WINDOWEVENT_SHOWN | |
SDL_WINDOWEVENT_HIDDEN | |
SDL_WINDOWEVENT_EXPOSED | |
SDL_WINDOWEVENT_MOVED | |
SDL_WINDOWEVENT_RESIZED | |
SDL_WINDOWEVENT_SIZE_CHANGED | |
SDL_WINDOWEVENT_MINIMIZED | |
SDL_WINDOWEVENT_MAXIMIZED | |
SDL_WINDOWEVENT_RESTORED | |
SDL_WINDOWEVENT_ENTER | |
SDL_WINDOWEVENT_LEAVE | |
SDL_WINDOWEVENT_FOCUS_GAINED | |
SDL_WINDOWEVENT_FOCUS_LOST | |
SDL_WINDOWEVENT_CLOSE | |
◆ SDL_SystemCursor
Enumerator |
---|
SDL_SYSTEM_CURSOR_ARROW | |
SDL_NUM_SYSTEM_CURSORS | |
◆ anonymous enum
Enumerator |
---|
SDL_APPMOUSEFOCUS | |
SDL_APPINPUTFOCUS | |
SDL_APPACTIVE | |
◆ SDL_eventaction
Enumerator |
---|
SDL_ADDEVENT | |
SDL_PEEKEVENT | |
SDL_GETEVENT | |
◆ SDL_PollEvent()
◆ SDL_WaitEventTimeout()
int SDL_WaitEventTimeout |
( |
SDL_Event * |
event, |
|
|
int |
timeout |
|
) |
| |
|
extern |
◆ SDL_FlushEvent()
◆ SDL_EventState()
◆ SDL_PeepEvents()
◆ SDL_PushEvent()
◆ SDL_RegisterEvents()
uint32_t SDL_RegisterEvents |
( |
int |
numevents | ) |
|
|
extern |