![]() |
|
#2
|
|||
|
|||
|
If you put the code that gets the button and joystick data into a timer function what kind of values are printed out in the input/output window?
Code:
def showData(): data = tracker2.getData() print data[8], data[9] state = int(data[7]) if state & 1: print 'Button 1 is down' vizact.ontimer(0, showData) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CAVE, navigation, tracked wand, coordinate systems | JimC | Vizard | 6 | 10-09-2009 01:43 PM |
| General question and question regarding arrays | dan12345 | Vizard | 1 | 01-15-2008 11:15 AM |
| question about yaw, pitch, roll | TunTun | Vizard | 2 | 05-23-2007 01:46 PM |
| to rephrase my question... | shai | Vizard | 2 | 10-27-2004 11:55 AM |
| Lots of Question | Karthi | Vizard | 4 | 02-20-2004 07:42 PM |