User Tools

Site Tools


gestures:touch:simple:temporal:double-tap:1-point-double-tap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

gestures:touch:simple:temporal:double-tap:1-point-double-tap [2019/01/29 19:07] (current)
Line 1: Line 1:
 +====== 1-Point-Double-Tap ======
 +(Touch -> Temporal -> Double-Tap -> 1 Point Double Tap Gesture)
  
 +<​code:​csharp linenums:​1>​
 +<Gesture id="​1-finger-double_tap"​ type="​double_tap">​
 +    <​match>​
 +        <​action>​
 +            <​initial>​
 +                <point event_duration_max="​300"​ interevent_duration_max="​300"​ translation_max="​20"/>​
 +                <cluster point_number="​1"/>​
 +                <event gesture_event="​tap"/>​
 +            </​initial>​
 +        </​action>​
 +    </​match> ​      
 +    <​analysis>​
 +        <​algorithm class="​temporalmetric"​ type="​discrete">​
 +            <library module="​double_tap"/>​
 +            <​returns>​
 +                <​property id="​double_tap_x"​ result="​x"/>​
 +                <​property id="​double_tap_y"​ result="​y"/>​
 +                <​property id="​double_tap_n"​ result="​n"/>​
 +            </​returns>​
 +        </​algorithm>​
 +    </​analysis> ​   ​
 +    <​mapping>​
 +        <update dispatch_type="​discrete"​ dispatch_mode="​batch"​ dispatch_interval="​200">​
 +            <​gesture_event type="​double_tap">​
 +                <​property ref="​double_tap_x"/>​
 +                <​property ref="​double_tap_y"/>​
 +                <​property ref="​double_tap_n"/>​
 +            </​gesture_event>​
 +        </​update>​
 +    </​mapping>​
 +</​Gesture>​
 +</​code>​
gestures/touch/simple/temporal/double-tap/1-point-double-tap.txt · Last modified: 2019/01/29 19:07 (external edit)