Specialization of the luciad::ClickEvent
class for touch events.
More...
#include <luciad/input/touch/TouchEvents.h>
Specialization of the luciad::ClickEvent
class for touch events.
- Since
- 2022.0
◆ TouchTapEvent()
luciad::TouchTapEvent::TouchTapEvent |
( |
Coordinate |
location, |
|
|
size_t |
tapCount, |
|
|
size_t |
touchPointCount, |
|
|
ModifierKeys |
modifierKeys |
|
) |
| |
|
inline |
Creates a click event for a touch device.
- Parameters
-
location | The location of the event, defined in device independent pixels |
tapCount | The number of taps. |
touchPointCount | How many touch points are used in the gesture. |
modifierKeys | The modifiers of the event. |
◆ getTouchPointCount()
size_t luciad::TouchTapEvent::getTouchPointCount |
( |
| ) |
const |
|
inline |
- Returns
- how many touch points are used.
- Note
- : currently, the
luciad::TouchGestureRecognizer
does not support tap events with more than one touch point.