Emulate Vive Controller with Vive Controller

Official forum for open source FreePIE discussion and development.
Post Reply
emulo2
One Eyed Hopeful
Posts: 1
Joined: Sat Feb 15, 2014 12:25 pm

Emulate Vive Controller with Vive Controller

Post 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?
Post Reply

Return to “FreePIE”