Touch

Give access to the real-time state of the touches.

Members

Static functions

getPosition
Vector2i getPosition(uint finger, const(Window) relativeTo)

Get the current position of a touch in window coordinates.

getPosition
Vector2i getPosition(uint finger)

Get the current position of a touch in desktop coordinates.

isDown
bool isDown(uint finger)

Check if a touch event is currently down.

Meta