CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:modules-and-examples:long-short-press

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:modules-and-examples:long-short-press [2013/05/09 00:47]
aaron
software:modules-and-examples:long-short-press [2013/05/09 01:38] (current)
aaron
Line 1: Line 1:
-====== Long Short Press ======+====== Long Short Press Module ​======
  
-This example shows how you can use advanced button actions and a little JavaScript to create a button that has two actions.\\ +This example shows how you can use advanced button actions and a little JavaScript to create a button that has two actions. 
-The button can be used to fire one command on short press, and a different command on long press.\\ + 
-If the long press is triggered, then the short command won't be. This is accomplished by triggering the short press on release, and cancelling it if the long press is triggered first.\\+The button can be used to fire one command on short press, and a different command on long press. 
 + 
 +If the long press is triggered, then the short command won't be. This is accomplished by triggering the short press on release, and cancelling it if the long press is triggered first.
  
 [[https://​github.com/​CommandFusion/​DemoUserInterfaces/​tree/​master/​LongShortPress|View on GitHub]] [[https://​github.com/​CommandFusion/​DemoUserInterfaces/​tree/​master/​LongShortPress|View on GitHub]]
-\\+
software/modules-and-examples/long-short-press.1368060420.txt.gz · Last modified: 2013/05/09 00:47 by aaron