User Tools

Site Tools


gestures:touch:simple:spatial:rotate:3-finger-rotate

3-Finger-Rotate

(Touch → Spatial → Rotate → Three Point Rotate Gesture “3-Finger-Rotate”)

<Gesture id="3-finger-rotate" type="rotate">
    <match>
        <action>
            <initial>
                <cluster point_number="3"/>
            </initial>
        </action>
    </match>
    <analysis>
        <algorithm>
            <library module="rotate"/>
            <returns>
                <property id="rotate_dtheta" result="dtheta"/>
            </returns>
        </algorithm>
    </analysis>    
    <mapping>
        <update dispatch_type="continuous">
            <gesture_event type="rotate">
                <property ref="rotate_dtheta" target="rotate"/>
            </gesture_event>
        </update>
    </mapping>
</Gesture>
gestures/touch/simple/spatial/rotate/3-finger-rotate.txt · Last modified: 2015/09/14 16:30 (external edit)