TrackIR in «MechWarrior Online»

Official forum for open source FreePIE discussion and development.
Post Reply
John Smith
One Eyed Hopeful
Posts: 4
Joined: Tue Feb 04, 2020 1:10 am

TrackIR in «MechWarrior Online»

Post by John Smith »

Hello. «MechWarrior Online» has TrackIR support. I don't have TrackIR hardware, so I would like to emulate it using «FreePie». This code was used for test:

Code: Select all

if starting:
    yaw = 0

yaw += 0.01
if yaw > 90:
    yaw = -90

trackIR.yaw = math.radians(yaw)

diagnostics.watch(trackIR.yaw)
However, nothing happens in the game. If I use «OpenTrack» head tracking is worked. However, I don't like the way «OpenTrack» implements the head rotation and therefore I would like to write my script in «FreePie». What's wrong?
Jabberwock
Cross Eyed!
Posts: 197
Joined: Mon Mar 02, 2015 3:58 pm

Re: TrackIR in «MechWarrior Online»

Post by Jabberwock »

Unfortunately, it is not very reliable. I am using it for American Truck Simulator and it sometimes works, sometimes it does not. I could not determine why...
Post Reply

Return to “FreePIE”