Skip to content

event.touches and event.targetTouches #55

@nomve

Description

@nomve

The eventobject currently has an input property that tells which input triggered a gesture. It is similar to targetTouches but not the same. Maybe rename to gestureInput.

targetTouches would be more difficult to implement than just touches. For touches, adapt tuioInput to also notify of all currently known input. The info is already there just not passed to a gesture.

TouchEvent.targetTouches Read only
A TouchList of all the Touch objects that are both currently in contact with the touch surface and were also started on the same element that is the target of the event.

TouchEvent.touches Read only
A TouchList of all the Touch objects representing all current points of contact with the surface, regardless of target or changed status.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions