Event

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

Members

Functions

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

toString
string toString()
Undocumented in source.

Static functions

fromSDL
Event fromSDL(SDL_Event sdlEvent)

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

Variables

sdlEvent
SDL_Event sdlEvent;

Internal SDL_Event struct

Meta