Help please! "Oculus VR SDK failed to init"
Posted: Thu Mar 09, 2017 1:08 pm
hello i'm trying to understand this so that i can use mouse emulation with freepie and my oculus dk2. I'm currently running oculus home(i have steamvr too, dont think thats relevant). Do i need to download a sdk? if so...how...i looked at the sdk download page on the oculus website...but i don't understand what to do with them(no executable or install of anytype..do i need that? or is oculus home all i need?)......follows is the script i got online for mouse emulation....
def update():
yaw = math.degrees(oculusVR.yaw)
pitch = math.degrees(oculusVR.pitch)
deltaYaw = filters.delta(yaw)
deltaPitch = filters.delta(pitch)
if (enabled):
mouse.deltaX = -deltaYaw*multiply
mouse.deltaY = -deltaPitch*multiply
if starting:
enabled = True
multiply = 17
#oculusVR.center()
oculusVR.update += update
recenter = keyboard.getPressed(Key.PageDown)
toggle = keyboard.getPressed(Key.PageUp)
if toggle:
enabled = not enabled
if recenter:
oculusVR.center()
diagnostics.watch(oculusVR.yaw)
diagnostics.watch(oculusVR.pitch)
diagnostics.watch(oculusVR.roll)
diagnostics.watch(oculusVR.x)
diagnostics.watch(oculusVR.y)
diagnostics.watch(oculusVR.z)
def update():
yaw = math.degrees(oculusVR.yaw)
pitch = math.degrees(oculusVR.pitch)
deltaYaw = filters.delta(yaw)
deltaPitch = filters.delta(pitch)
if (enabled):
mouse.deltaX = -deltaYaw*multiply
mouse.deltaY = -deltaPitch*multiply
if starting:
enabled = True
multiply = 17
#oculusVR.center()
oculusVR.update += update
recenter = keyboard.getPressed(Key.PageDown)
toggle = keyboard.getPressed(Key.PageUp)
if toggle:
enabled = not enabled
if recenter:
oculusVR.center()
diagnostics.watch(oculusVR.yaw)
diagnostics.watch(oculusVR.pitch)
diagnostics.watch(oculusVR.roll)
diagnostics.watch(oculusVR.x)
diagnostics.watch(oculusVR.y)
diagnostics.watch(oculusVR.z)