User Tools

Site Tools


gestures:touch:bi-manual:n-tilt

N-Tilt

(Touch → Bi-Manual → N Point Tilt “N-Tilt”)

<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>
gestures/touch/bi-manual/n-tilt.txt · Last modified: 2015/09/15 15:24 by glass