User Tools

Site Tools


gestures:touch:bi-manual:n-tilt

Differences

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

Link to this comparison view

gestures:touch:bi-manual:n-tilt [2019/01/29 19:07] (current)
Line 1: Line 1:
 +====== N-Tilt ======
 +(Touch -> Bi-Manual -> N Point Tilt “N-Tilt”)
  
 +<​code:​csharp linenums:​1>​
 +<Gesture id="​3-finger-tilt"​ type="​tilt">​
 +    <​match>​
 +        <​action>​
 +            <​initial>​
 +                <cluster point_number="​3"​ point_number_min=""​ point_number_max=""​ separation_threshold="​0.01"/>​
 +            </​initial>​
 +        </​action>​
 +    </​match>​
 +    <​analysis>​
 +        <​algorithm>​
 +            <library module="​tilt"/>​
 +            <​returns>​
 +                <​property id="​tilt_dx"/>​
 +                <​property id="​tilt_dy"/>​
 +            </​returns>​
 +        </​algorithm>​
 +    </​analysis>​
 +    <​mapping>​
 +        <​update>​
 +            <​gesture_event>​
 +                <​property ref="​tilt_dx"​ target=""​ func="​linear"​ factor="​1"​ delta_threshold="​false"​ delta_min="​0.0001"​ delta_max="​1"/>​
 +                <​property ref="​tilt_dy"​ target=""​ func="​linear"​ factor="​1"​ delta_threshold="​false"​ delta_min="​0.0001"​ delta_max="​1"/>​
 +            </​gesture_event>​
 +        </​update>​
 +    </​mapping>​
 +</​Gesture>​
 +</​code>​
gestures/touch/bi-manual/n-tilt.txt · Last modified: 2019/01/29 19:07 (external edit)