tactilefeedback/tactileactionplugin/data/tactile.rul
changeset 0 d54f32e146dd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tactilefeedback/tactileactionplugin/data/tactile.rul	Thu Dec 17 08:53:38 2009 +0200
@@ -0,0 +1,35 @@
+<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>
\ No newline at end of file