![]() |
|
#1
|
|||
|
|||
The joystick.py example script exits if a DirectInput device is not connected:
If both the display and sensor cables of the Oculus are not connected getSensor will return None: Code:
import oculus hmd = oculus.Rift() if hmd.getSensor() is None: print 'Rift not connected' |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PPT cameras not connected | sisun1030 | Precision Position Tracker (PPT) | 0 | 03-05-2010 08:02 AM |
Bluetooth Devices for Wiimote | envisC | Vizard | 3 | 10-27-2009 11:09 AM |
Multiple Sound Devices | GiudiceLab | Vizard | 2 | 06-06-2009 10:29 AM |
two haptic devices | SSophia | Vizard | 3 | 07-07-2008 02:42 PM |
game devices | jkelly | Vizard | 10 | 03-27-2007 02:16 AM |