tactilefeedback/tactileactionplugin/data/tactile.rul
author Shabe Razvi <shaber@symbian.org>
Mon, 19 Jul 2010 14:04:14 +0100
changeset 28 89310418a649
parent 0 d54f32e146dd
permissions -rw-r--r--
Workaround for Bug 3311 - hbfeedback fails to build due to missing enum ETouchFeedbackLongTap

<script xmlns="http://www.nokia.com/ns/cep/script/1.0/"
xmlns:cep="http://www.nokia.com/ns/cep/1.0/">
    <if>
        <or>
            <equals>
                <contextRef source='Call' type='State'/>
                <string>Connected</string>
            </equals>
            <equals>
                <contextRef source='Call' type='State'/>
                <string>Dialling</string>
            </equals>
    	</or>
        <actions>
            <!-- Tactile feedback off -->
            <Tactile Feedback='OFF'/>	
        </actions>
    </if>
    <elseIf>
        <or>
            <equals>
                <contextRef source='Call' type='State'/>
                <string>None</string>
            </equals>
            <equals>
                <contextRef source='Call' type='State'/>
                <string>Disconnecting</string>
            </equals>
        </or>
        <actions>
            <!-- Tactile feedback on -->
            <Tactile Feedback='ON'/>
        </actions>
    </elseIf>
</script>