User Tools

Site Tools


gestures:touch:simple:temporal:triple-tap:n-triple-tap

N-Triple-Tap

(Touch → Temporal → Triple-Tap → Simple N Point triple Tap Gesture)

<Gesture id="n-triple_tap" type="triple_tap">
    <match>
        <action>
            <initial>
                <point event_duration_max="300" interevent_duration_max="300" translation_max="20"/>
                <cluster point_number="0"/>
                <event gesture_event="tap" />
            </initial>
        </action>
    </match>       
    <analysis>
        <algorithm class="temporalmetric" type="discrete">
            <library module="triple_tap"/>
            <returns>
                <property id="triple_tap_x" result="x"/>
                <property id="triple_tap_y" result="y"/>
                <property id="triple_tap_n" result="n"/>
            </returns>
        </algorithm>
    </analysis>
    <mapping>
        <update dispatch_type="discrete" dispatch_mode="batch" dispatch_interval="200">
            <gesture_event  type="triple_tap">
                <property ref="triple_tap_x"/>
                <property ref="triple_tap_y"/>
                <property ref="triple_tap_n"/>
            </gesture_event>
        </update>
    </mapping>
</Gesture>
gestures/touch/simple/temporal/triple-tap/n-triple-tap.txt · Last modified: 2015/09/15 16:22 by glass