View Single Post
Old 03-04-2019, 07:50 AM
Corn Corn is offline
Registered User
Join Date: Jun 2018
Posts: 1
Oculus Touch Controllers as Input?

Hi all,
I have a new problem with the buttons, triggers and sticks of the Oculus Touch Controllers -- since the last updates of the Oculus and Vizard apps, Vizard does apparently not get these informations anymore (while the tracking of the controllers still works fine).
This holds both for trying to use the Touch Controllers as "Inputs" in Vizconnect (the GUI will indicate that they are connected but not active by a dark green circle), and for simple Vizard scripts such as the one in the end of this thread - no matter which position you hold the joystick in.

Formerly working scripts do not work anymore in the moment. With other Oculus apps, the controllers work fine and they are shown as fully charged, so this is not the problem apparently. I would appreciate any ideas on this! Thank you!

import viz
import vizact
import oculus

hmd = oculus.Rift()
touchRight = hmd.getRightTouchController()

def printStickPosition():

vizact.onupdate(0, printStickPosition)

Reply With Quote