The ITouchScreenDevice interface.
More...
#include "murl_input_i_touch_screen_device.h"
The ITouchScreenDevice interface.
Multi touch devices represents each single touch by a separate device. Multi touch reports can be disabled by IAppConfiguration::SetMultiTouchActive().
◆ IsPressed()
virtual Bool Murl::Input::ITouchScreenDevice::IsPressed |
( |
| ) |
const |
|
pure virtual |
Check if the touch is pressed.
- Returns
- true if the touch is pressed.
◆ WasCancelled()
virtual Bool Murl::Input::ITouchScreenDevice::WasCancelled |
( |
| ) |
const |
|
pure virtual |
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.
- Returns
- true if the touch was cancelled in the most recent tick.
◆ WasPressed()
virtual Bool Murl::Input::ITouchScreenDevice::WasPressed |
( |
| ) |
const |
|
pure virtual |
Check if the touch was pressed in the most recent tick.
- Returns
- true if the touch was pressed in the most recent tick.
◆ WasReleased()
virtual Bool Murl::Input::ITouchScreenDevice::WasReleased |
( |
| ) |
const |
|
pure virtual |
Check if the touch was released in the most recent tick.
- Returns
- true if the touch was released in the most recent tick.
◆ WasMoved()
virtual Bool Murl::Input::ITouchScreenDevice::WasMoved |
( |
| ) |
const |
|
pure virtual |
Check if the touch was moved in the most recent tick.
- Returns
- true if the touch was moved in the most recent tick.
◆ GetPositionX()
virtual Real Murl::Input::ITouchScreenDevice::GetPositionX |
( |
| ) |
const |
|
pure virtual |
Get the touch x-position on the display surface.
- Returns
- The x-position in range [-1.0 left .. 1.0 right].
◆ GetPositionY()
virtual Real Murl::Input::ITouchScreenDevice::GetPositionY |
( |
| ) |
const |
|
pure virtual |
Get the touch y-position on the display surface.
- Returns
- The y-position in range [-1.0 bottom .. 1.0 top].
The documentation for this interface was generated from the following file:
- murl_input_i_touch_screen_device.h