User Tools

Site Tools


gestures:touch:simple:temporal:single-tap:3-point-tap

This is an old revision of the document!


3-Point-Tap

(Touch → Temporal → Tap → Three Point Tap Gesture “3-Point-Tap”)



The 3-finger-tap gesture is designed to .

When two or more touch points are recognized on a touch object the relative orientation of the touch points are tracked and grouped into a cluster. This change in the orientation of the cluster is mapped directly to the rotation of the touch object.

<Gesture id="3-finger-tap" type="tap">
    <match>
        <action>
            <initial>
                <point event_duration_max="200" translation_max="10"/>
                <cluster point_number="3"/>
                <event touch_event="touchEnd"/>
             </initial>
        </action>
    </match>       
    <analysis>
        <algorithm class="temporalmetric" type="discrete">
            <library module="tap"/>
            <returns>
                <property id="tap_x" result="x"/>
                <property id="tap_y" result="y"/>
                <property id="tap_n" result="n"/>
            </returns>
        </algorithm>
    </analysis>    
    <mapping>
        <update dispatch_type="discrete">
            <gesture_event type="tap">
                <property ref="tap_x"/>
                <property ref="tap_y"/>
                <property ref="tap_n"/>
            </gesture_event>
        </update>
    </mapping>
</Gesture>
gestures/touch/simple/temporal/single-tap/3-point-tap.1444346405.txt.gz · Last modified: 2019/01/29 18:57 (external edit)