![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The ITouchScreenDevice interface.
Multi touch devices represents each single touch by a separate device. Multi touch reports can be disabled by IAppConfiguration::SetMultiTouchActive().
Murl.Input.IDevice
Murl.Input.IMouseButtons
Check if the touch is pressed.
Boolean IsPressed()
Check if the touch was cancelled in the most recent tick. A touch controller typically cancel multi touch inputs if too much simultaneous touches are present.
Boolean WasCancelled()
Check if the touch was pressed in the most recent tick.
Boolean WasPressed()
Check if the touch was released in the most recent tick.
Boolean WasReleased()
Check if the touch was moved in the most recent tick.
Boolean WasMoved()
Get the touch x-position on the display surface.
Number GetPositionX()
Get the touch y-position on the display surface.
Number GetPositionY()