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?

Post Reply

Return to “FreePIE”