![]() |
#2
|
|||
|
|||
The following code shows how to detect all the attached joysticks:
Code:
import vizjoy joysticks = [] while True: joy = vizjoy.add() if joy.valid(): joysticks.append(joy) else: break print len(joysticks),'joysticks detected' |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Check if an avatar has a state "123" | Josh | Vizard | 1 | 04-06-2010 01:11 PM |
2 Joysticks / requirements | Sandro Holzer | Vizard | 1 | 01-13-2009 04:32 PM |