UnknownEvent

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

@safe final
class UnknownEvent : Event {}

Constructors

this
this(SDL_Event sdlEvent)
Undocumented in source.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Event

sdlEvent
SDL_Event sdlEvent;

Internal SDL_Event struct

toString
string toString()
Undocumented in source.
sdlEventType
SDL_EventType sdlEventType()

Gets the SDL_EventType of the underlying SDL_Event

timestamp
inout(uint) timestamp()

Proxy to the timestamp of the dsdl2.Event

fromSDL
Event fromSDL(SDL_Event sdlEvent)

Turns a vanilla SDL_Event from bindbc-sdl to dsdl2.Event

Meta