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()