contextframework/cfwplugins/vibraactionplugin/data/vibrafeedback.rul
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 <!-- Defines a rule which causes vibra to be activated -->
       
     2 <script xmlns="http://www.nokia.com/ns/cep/script/1.0/"
       
     3 xmlns:cep="http://www.nokia.com/ns/cep/1.0/">
       
     4     <if>
       
     5         <or>
       
     6             <!-- Listen context 'Sensor: Event.DoubleTap'events -->
       
     7             <equals>
       
     8                 <contextRef source='Sensor' type='Event.DoubleTap'/>
       
     9                 <string>X-Axis</string>
       
    10             </equals>
       
    11             <equals>
       
    12                 <contextRef source='Sensor' type='Event.DoubleTap'/>
       
    13                 <string>Y-Axis</string>
       
    14             </equals>
       
    15             <equals>
       
    16                 <contextRef source='Sensor' type='Event.DoubleTap'/>
       
    17                 <string>Z-Axis</string>
       
    18             </equals>
       
    19         </or>
       
    20         <actions>
       
    21             <!-- All time values in milliseconds -->
       
    22             <Vibra Mode='Start' Delay='0' Repeats='2' RepeatInterval='200' Duration='50' Intensity='50'/>
       
    23         </actions>
       
    24     </if>
       
    25 </script>