dsdl2.event

Members

Classes

AppDidEnterBackgroundEvent
class AppDidEnterBackgroundEvent

D class that wraps SDL_APP_DIDENTERBACKGROUND SDL_Events

AppDidEnterForegroundEvent
class AppDidEnterForegroundEvent

D class that wraps SDL_APP_DIDENTERFOREGROUND SDL_Events

AppLowMemoryEvent
class AppLowMemoryEvent

D class that wraps SDL_APP_LOWMEMORY SDL_Events

AppTerminatingEvent
class AppTerminatingEvent

D class that wraps SDL_APP_TERMINATING SDL_Events

AppWillEnterBackgroundEvent
class AppWillEnterBackgroundEvent

D class that wraps SDL_APP_WILLENTERBACKGROUND SDL_Events

AppWillEnterForegroundEvent
class AppWillEnterForegroundEvent

D class that wraps SDL_APP_WILLENTERFOREGROUND SDL_Events

DisplayConnectedEvent
class DisplayConnectedEvent

D class that wraps SDL_DISPLAYEVENT_CONNECTED SDL_DISPLAYEVENT SDL_Events (from SDL 2.0.14)

DisplayDisconnectedEvent
class DisplayDisconnectedEvent

D class that wraps SDL_DISPLAYEVENT_DISCONNECTED SDL_DISPLAYEVENT SDL_Events (from SDL 2.0.14)

DisplayEvent
class DisplayEvent

D abstract class that wraps SDL_DISPLAYEVENT SDL_Events (from SDL 2.0.9)

DisplayMovedEvent
class DisplayMovedEvent

D class that wraps SDL_DISPLAYEVENT_MOVED SDL_DISPLAYEVENT SDL_Events (from SDL 2.0.28)

DisplayOrientationEvent
class DisplayOrientationEvent

D class that wraps SDL_DISPLAYEVENT_ORIENTATION SDL_DISPLAYEVENT SDL_Events (from SDL 2.0.9)

DollarEvent
class DollarEvent

D abstract class that wraps dollar gesture SDL_Events

DollarGestureEvent
class DollarGestureEvent

D class that wraps SDL_DOLLARGESTURE SDL_Events

DollarRecordEvent
class DollarRecordEvent

D class that wraps SDL_DOLLARRECORD SDL_Events

DropBeginEvent
class DropBeginEvent

D class that wraps SDL_DROPBEGIN SDL_Events (from SDL 2.0.5)

DropCompleteEvent
class DropCompleteEvent

D class that wraps SDL_DROPCOMPLETE SDL_Events (from SDL 2.0.5)

DropEvent
class DropEvent

D abstract class that wraps drop SDL_Events

DropFileEvent
class DropFileEvent

D class that wraps SDL_DROPFILE SDL_Events

DropTextEvent
class DropTextEvent

D class that wraps SDL_DROPTEXT SDL_Events (from SDL 2.0.5)

Event
class Event

D abstract class that wraps SDL_Event containing details of an event polled from dsdl2.pollEvent()

FingerDownEvent
class FingerDownEvent

D class that wraps SDL_FINGERDOWN SDL_Events

FingerEvent
class FingerEvent

D abstract class that wraps touch finger SDL_Events

FingerMotionEvent
class FingerMotionEvent

D class that wraps SDL_FINGERMOTION SDL_Events

FingerUpEvent
class FingerUpEvent

D class that wraps SDL_FINGERUP SDL_Events

KeyDownKeyboardEvent
class KeyDownKeyboardEvent

D class that wraps SDL_KEYDOWN SDL_Events

KeyUpKeyboardEvent
class KeyUpKeyboardEvent

D class that wraps SDL_KEYUP SDL_Events

KeyboardEvent
class KeyboardEvent

D abstract class that wraps keyboard SDL_Events

KeymapChangedEvent
class KeymapChangedEvent

D class that wraps SDL_KEYMAPCHANGED SDL_Events (from SDL 2.0.4)

LocaleChangeEvent
class LocaleChangeEvent

D class that wraps SDL_LOCALECHANGED SDL_Events (from SDL 2.0.14)

MouseButtonDownEvent
class MouseButtonDownEvent

D class that wraps SDL_MOUSEBUTTONDOWN SDL_Events

MouseButtonEvent
class MouseButtonEvent

D abstract class that wraps mouse button SDL_Events

MouseButtonUpEvent
class MouseButtonUpEvent

D class that wraps SDL_MOUSEBUTTONUP SDL_Events

MouseMotionEvent
class MouseMotionEvent

D class that wraps SDL_MOUSEMOTION SDL_Events

MouseWheelEvent
class MouseWheelEvent

D class that wraps SDL_MOUSEWHEEL SDL_Events

MultiGestureEvent
class MultiGestureEvent

D class that wraps SDL_MULTIGESTURE SDL_Events

QuitEvent
class QuitEvent

D class that wraps SDL_QUIT SDL_Events

SysWMEvent
class SysWMEvent

D class that wraps SDL_SYSWMEVENT SDL_Events

TextEditingEvent
class TextEditingEvent

D class that wraps SDL_TEXTEDITING SDL_Events

TextInputEvent
class TextInputEvent

D class that wraps SDL_TEXTINPUT SDL_Events

UnknownEvent
class UnknownEvent

D class that wraps SDL events that aren't recognized by dsdl2

WindowCloseEvent
class WindowCloseEvent

D class that wraps SDL_WINDOWEVENT_CLOSE SDL_WINDOWEVENT SDL_Events

WindowDisplayChangedEvent
class WindowDisplayChangedEvent

D class that wraps SDL_WINDOWEVENT_DISPLAY_CHANGED SDL_WINDOWEVENT SDL_Events (from SDL 2.0.18)

WindowEnterEvent
class WindowEnterEvent

D class that wraps SDL_WINDOWEVENT_ENTER SDL_WINDOWEVENT SDL_Events

WindowEvent
class WindowEvent

D abstract class that wraps SDL_WINDOWEVENT SDL_Events

WindowExposedEvent
class WindowExposedEvent

D class that wraps SDL_WINDOWEVENT_EXPOSED SDL_WINDOWEVENT SDL_Events

WindowFocusGainedEvent
class WindowFocusGainedEvent

D class that wraps SDL_WINDOWEVENT_FOCUS_GAINED SDL_WINDOWEVENT SDL_Events

WindowFocusLostEvent
class WindowFocusLostEvent

D class that wraps SDL_WINDOWEVENT_FOCUS_LOST SDL_WINDOWEVENT SDL_Events

WindowHiddenEvent
class WindowHiddenEvent

D class that wraps SDL_WINDOWEVENT_HIDDEN SDL_WINDOWEVENT SDL_Events

WindowHitTestEvent
class WindowHitTestEvent

D class that wraps SDL_WINDOWEVENT_HIT_TEST SDL_WINDOWEVENT SDL_Events (from SDL 2.0.5)

WindowICCProfileChangedEvent
class WindowICCProfileChangedEvent

D class that wraps SDL_WINDOWEVENT_ICCPROF_CHANGED SDL_WINDOWEVENT SDL_Events (from SDL 2.0.18)

WindowLeaveEvent
class WindowLeaveEvent

D class that wraps SDL_WINDOWEVENT_LEAVE SDL_WINDOWEVENT SDL_Events

WindowMaximizedEvent
class WindowMaximizedEvent

D class that wraps SDL_WINDOWEVENT_MAXIMIZED SDL_WINDOWEVENT SDL_Events

WindowMinimizedEvent
class WindowMinimizedEvent

D class that wraps SDL_WINDOWEVENT_MINIMIZED SDL_WINDOWEVENT SDL_Events

WindowMovedEvent
class WindowMovedEvent

D class that wraps SDL_WINDOWEVENT_MOVED SDL_WINDOWEVENT SDL_Events

WindowResizedEvent
class WindowResizedEvent

D class that wraps SDL_WINDOWEVENT_RESIZED SDL_WINDOWEVENT SDL_Events

WindowRestoredEvent
class WindowRestoredEvent

D class that wraps SDL_WINDOWEVENT_RESTORED SDL_WINDOWEVENT SDL_Events

WindowShownEvent
class WindowShownEvent

D class that wraps SDL_WINDOWEVENT_SHOWN SDL_WINDOWEVENT SDL_Events

WindowSizeChangedEvent
class WindowSizeChangedEvent

D class that wraps SDL_WINDOWEVENT_SIZE_CHANGED SDL_WINDOWEVENT SDL_Events

WindowTakeFocusEvent
class WindowTakeFocusEvent

D class that wraps SDL_WINDOWEVENT_TAKE_FOCUS SDL_WINDOWEVENT SDL_Events (from SDL 2.0.5)

Functions

pollEvent
Event pollEvent()

Wraps SDL_PollEvent which returns the latest event in queue

pumpEvents
void pumpEvents()

Wraps SDL_PumpEvents which retrieves events from input devices

Meta

Authors

Avaxar <avaxar@nekkl.org>