Module dsdl2.event
Functions
Name | Description |
---|---|
pollEvent()
|
Wraps SDL_PollEvent which returns the latest event in queue
|
pumpEvents()
|
Wraps SDL_PumpEvents which retrieves events from input devices
|
Classes
Name | Description |
---|---|
AppDidEnterBackgroundEvent
|
D class that wraps SDL_APP_DIDENTERBACKGROUND SDL_Event s
|
AppDidEnterForegroundEvent
|
D class that wraps SDL_APP_DIDENTERFOREGROUND SDL_Event s
|
AppLowMemoryEvent
|
D class that wraps SDL_APP_LOWMEMORY SDL_Event s
|
AppTerminatingEvent
|
D class that wraps SDL_APP_TERMINATING SDL_Event s
|
AppWillEnterBackgroundEvent
|
D class that wraps SDL_APP_WILLENTERBACKGROUND SDL_Event s
|
AppWillEnterForegroundEvent
|
D class that wraps SDL_APP_WILLENTERFOREGROUND SDL_Event s
|
DisplayConnectedEvent
|
D class that wraps SDL_DISPLAYEVENT_CONNECTED SDL_DISPLAYEVENT SDL_Event s (from SDL 2.0.14)
|
DisplayDisconnectedEvent
|
D class that wraps SDL_DISPLAYEVENT_DISCONNECTED SDL_DISPLAYEVENT SDL_Event s (from SDL 2.0.14)
|
DisplayEvent
|
D abstract class that wraps SDL_DISPLAYEVENT SDL_Event s (from SDL 2.0.9)
|
DisplayMovedEvent
|
D class that wraps SDL_DISPLAYEVENT_MOVED SDL_DISPLAYEVENT SDL_Event s (from SDL 2.0.28)
|
DisplayOrientationEvent
|
D class that wraps SDL_DISPLAYEVENT_ORIENTATION SDL_DISPLAYEVENT SDL_Event s (from SDL 2.0.9)
|
DollarEvent
|
D abstract class that wraps dollar gesture SDL_Event s
|
DollarGestureEvent
|
D class that wraps SDL_DOLLARGESTURE SDL_Event s
|
DollarRecordEvent
|
D class that wraps SDL_DOLLARRECORD SDL_Event s
|
DropBeginEvent
|
D class that wraps SDL_DROPBEGIN SDL_Event s (from SDL 2.0.5)
|
DropCompleteEvent
|
D class that wraps SDL_DROPCOMPLETE SDL_Event s (from SDL 2.0.5)
|
DropEvent
|
D abstract class that wraps drop SDL_Event s
|
DropFileEvent
|
D class that wraps SDL_DROPFILE SDL_Event s
|
DropTextEvent
|
D class that wraps SDL_DROPTEXT SDL_Event s (from SDL 2.0.5)
|
Event
|
D abstract class that wraps SDL_Event containing details of an event polled from dsdl2
|
FingerDownEvent
|
D class that wraps SDL_FINGERDOWN SDL_Event s
|
FingerEvent
|
D abstract class that wraps touch finger SDL_Event s
|
FingerMotionEvent
|
D class that wraps SDL_FINGERMOTION SDL_Event s
|
FingerUpEvent
|
D class that wraps SDL_FINGERUP SDL_Event s
|
KeyboardEvent
|
D abstract class that wraps keyboard SDL_Event s
|
KeyDownKeyboardEvent
|
D class that wraps SDL_KEYDOWN SDL_Event s
|
KeymapChangedEvent
|
D class that wraps SDL_KEYMAPCHANGED SDL_Event s (from SDL 2.0.4)
|
KeyUpKeyboardEvent
|
D class that wraps SDL_KEYUP SDL_Event s
|
LocaleChangeEvent
|
D class that wraps SDL_LOCALECHANGED SDL_Event s (from SDL 2.0.14)
|
MouseButtonDownEvent
|
D class that wraps SDL_MOUSEBUTTONDOWN SDL_Event s
|
MouseButtonEvent
|
D abstract class that wraps mouse button SDL_Event s
|
MouseButtonUpEvent
|
D class that wraps SDL_MOUSEBUTTONUP SDL_Event s
|
MouseMotionEvent
|
D class that wraps SDL_MOUSEMOTION SDL_Event s
|
MouseWheelEvent
|
D class that wraps SDL_MOUSEWHEEL SDL_Event s
|
MultiGestureEvent
|
D class that wraps SDL_MULTIGESTURE SDL_Event s
|
QuitEvent
|
D class that wraps SDL_QUIT SDL_Event s
|
SysWMEvent
|
D class that wraps SDL_SYSWMEVENT SDL_Event s
|
TextEditingEvent
|
D class that wraps SDL_TEXTEDITING SDL_Event s
|
TextInputEvent
|
D class that wraps SDL_TEXTINPUT SDL_Event s
|
UnknownEvent
|
D class that wraps SDL events that aren't recognized by dsdl2 |
WindowCloseEvent
|
D class that wraps SDL_WINDOWEVENT_CLOSE SDL_WINDOWEVENT SDL_Event s
|
WindowDisplayChangedEvent
|
D class that wraps SDL_WINDOWEVENT_DISPLAY_CHANGED SDL_WINDOWEVENT SDL_Event s (from SDL 2.0.18)
|
WindowEnterEvent
|
D class that wraps SDL_WINDOWEVENT_ENTER SDL_WINDOWEVENT SDL_Event s
|
WindowEvent
|
D abstract class that wraps SDL_WINDOWEVENT SDL_Event s
|
WindowExposedEvent
|
D class that wraps SDL_WINDOWEVENT_EXPOSED SDL_WINDOWEVENT SDL_Event s
|
WindowFocusGainedEvent
|
D class that wraps SDL_WINDOWEVENT_FOCUS_GAINED SDL_WINDOWEVENT SDL_Event s
|
WindowFocusLostEvent
|
D class that wraps SDL_WINDOWEVENT_FOCUS_LOST SDL_WINDOWEVENT SDL_Event s
|
WindowHiddenEvent
|
D class that wraps SDL_WINDOWEVENT_HIDDEN SDL_WINDOWEVENT SDL_Event s
|
WindowHitTestEvent
|
D class that wraps SDL_WINDOWEVENT_HIT_TEST SDL_WINDOWEVENT SDL_Event s (from SDL 2.0.5)
|
WindowICCProfileChangedEvent
|
D class that wraps SDL_WINDOWEVENT_ICCPROF_CHANGED SDL_WINDOWEVENT SDL_Event s (from SDL 2.0.18)
|
WindowLeaveEvent
|
D class that wraps SDL_WINDOWEVENT_LEAVE SDL_WINDOWEVENT SDL_Event s
|
WindowMaximizedEvent
|
D class that wraps SDL_WINDOWEVENT_MAXIMIZED SDL_WINDOWEVENT SDL_Event s
|
WindowMinimizedEvent
|
D class that wraps SDL_WINDOWEVENT_MINIMIZED SDL_WINDOWEVENT SDL_Event s
|
WindowMovedEvent
|
D class that wraps SDL_WINDOWEVENT_MOVED SDL_WINDOWEVENT SDL_Event s
|
WindowResizedEvent
|
D class that wraps SDL_WINDOWEVENT_RESIZED SDL_WINDOWEVENT SDL_Event s
|
WindowRestoredEvent
|
D class that wraps SDL_WINDOWEVENT_RESTORED SDL_WINDOWEVENT SDL_Event s
|
WindowShownEvent
|
D class that wraps SDL_WINDOWEVENT_SHOWN SDL_WINDOWEVENT SDL_Event s
|
WindowSizeChangedEvent
|
D class that wraps SDL_WINDOWEVENT_SIZE_CHANGED SDL_WINDOWEVENT SDL_Event s
|
WindowTakeFocusEvent
|
D class that wraps SDL_WINDOWEVENT_TAKE_FOCUS SDL_WINDOWEVENT SDL_Event s (from SDL 2.0.5)
|