SDL2Mouse

Holds SDL mouse state.

Constructors

this
this(SDL2 sdl2)
Undocumented in source.

Members

Functions

isButtonPressed
bool isButtonPressed(int mask)
lastDeltaX
int lastDeltaX()
lastDeltaY
int lastDeltaY()
position
SDL_Point position()
previousPosition
SDL_Point previousPosition()
updateButtons
void updateButtons(const(SDL_MouseButtonEvent)* event)
Undocumented in source. Be warned that the author may not have intended to support it.
updateMotion
void updateMotion(const(SDL_MouseMotionEvent)* event)
Undocumented in source. Be warned that the author may not have intended to support it.
updateWheel
void updateWheel(const(SDL_MouseWheelEvent)* event)
Undocumented in source. Be warned that the author may not have intended to support it.
wheelDeltaX
int wheelDeltaX()
wheelDeltaY
int wheelDeltaY()
x
int x()
y
int y()

Meta