ygCAVEWand derived from ygWand | Example | Source | Header |
Events |
button1, button2, button3 | a button has been pressed |
buttonUp1, buttonUp2, buttonUp3 | a button has been released |
Comments |
constructor ygCAVEWand
method reset
1 for each CAVE button set the previous state to zero
method app
1 for each CAVE button
1.1 if button state becomes on then generate a button event
1.2 else, if button state becomes off then generate a buttonUp event