Page 1 of 1

Emulate Vive Controller with Vive Controller

Posted: Wed Dec 21, 2016 4:48 am
by emulo2
Hi,

Its my first time I trying to use FreePie with SteamVR.

I want do emulate my Vive Controller with my Vive Controller. Why? I want to change the position of the controller for some games. I thought that this would be possible with FreePie. So (please dont laugh) i tried something like this:

Code: Select all

def vive_controller1():
	i=1
	global posx
	global posy
	global posz
	posx = 90
	posy = 0
	posz = 0
	global orrpitch
	global orryaw
	global orrroll


def vive_init():
	global posx
	global posy
	global posz
	posx = 0
	posy = 0
	posz = 0
	global orrpitch
	global orryaw
	global orrroll
	orrpitch = 0
	orryaw = 0
	orrroll = 0
	
global s

if starting:
	vive_init()
	s = 1
	
if s == 1:
	vive_controller1()
clicked start and started SteamVR. But it does not work. Any ideas?