FingerEvent

D abstract class that wraps touch finger SDL_Events

Members

Functions

dx
inout(float) dx()
Undocumented in source. Be warned that the author may not have intended to support it.
dy
inout(float) dy()
Undocumented in source. Be warned that the author may not have intended to support it.
fingerID
inout(ulong) fingerID()
Undocumented in source. Be warned that the author may not have intended to support it.
pressure
inout(float) pressure()
Undocumented in source. Be warned that the author may not have intended to support it.
touchID
inout(ulong) touchID()
Undocumented in source. Be warned that the author may not have intended to support it.
windowID
inout(uint) windowID()
Undocumented in source. Be warned that the author may not have intended to support it.
x
inout(float) x()
Undocumented in source. Be warned that the author may not have intended to support it.
y
inout(float) y()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromSDL
Event fromSDL(SDL_Event sdlEvent)
Undocumented in source.

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