View Full Version : HTC Vive Controller not working
Seadna
05-23-2016, 11:23 AM
Hi there,
I have successfully loaded the example script with the Vive headset working flawlessly. However i cannot seem to get the controllers to work. I ran the example script but cannot see the controllers. The controllers are on and they work in other applications.
Any help is much appreciated.
Are there any controllers returned by the steamvr.getControllerList() command? Does the following print 'connected' for each controller?
import viz
import steamvr
viz.go()
hmd = steamvr.HMD()
if not hmd.getSensor():
sys.exit('SteamVR HMD not detected')
for controller in steamvr.getControllerList():
print 'connected'
Seadna
10-22-2016, 08:59 AM
They work now, but only when they are turned on before running my code. Thanks for help.
Hi,
I have the same problem.
Although the controller preferences in steamVR is fine, it doesn't work in vizard program.
When I write codes as below,
for controller in steamvr.getControllerList():
print 'vive controller connected'
vizconfig.register(controller)
vizconfig.getConfigWindow().setWindowVisible(True)
for device in steamvr.getControllerList(): #check VR device
print device
it says
steamvr.dle SteamVR Extension
vive controller connected
__builtin__.SteamVRController(1)
vizconfig shows the window as attached image, but any keys don't work. Also, I tried viztask.waitSensorDown(controller, steamvr.BUTTON_TRACKPAD), but it never work.
sado_rabaudi
04-21-2021, 07:40 AM
Hi Roy,
If you go to tools- vizconnect and choose the SteamVR preset, then go to start page- advanced- inputs do you see a green button or red x next to the r_hand_input and l_hand_input?
Also, the controllers are showing as lit up in SteamVR?
Best,
Sado
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.