I was wondering whether it would be possible to write the values of trackIR via freePIE so that all supported trackIR games (there are quite a few) could be used via the Oculus Rift.
The home page of trackIR shows that the plugin is writable as well as readable. I currently use it the other way to use Virieo Perception with my Track IR using the following code
Code: Select all
def update():
vireioSMT.yaw = trackIR.yaw
vireioSMT.pitch = trackIR.pitch
vireioSMT.roll = trackIR.roll
vireioSMT.x = trackIR.x / 5.0
vireioSMT.y = trackIR.y / 5.0
vireioSMT.z = trackIR.z / 5.0
if starting:
trackIR.update += update
Unfortunately my Rift has yet to arrive (201xx) but hopefully I will be able to try this out soon. I suppose I could test the theory using a joystick or similar if people think this is a good idea. If it does work it could at least help to integrate the codemaster games (Dirt 2 / 3 / F1 / etc).