Sign in to follow this  
BenDanville

Switch Position Polling

Recommended Posts

Hi guys,

I am new to Prepar3D so I appreciate your patience!
I was wondering if there is a way to poll joystick switch positions in Prepar3d automatically? I have tried with Bodnar boards and GoFlight modules and I find it a bit annoying that you have to toggle them for Prepar3d to work out their positions. In Xplane I found it trivial to write a lua script to read the switch position and write the data directly of the position and have it looping, but I havent been able to work the lua scripting out in Prepar3d. I have tried LINDA and I don't seem to have worked out fully how to manipulate "offsets". 

I appreciate any advice you can offer me!
Thanks,
Ben

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

I have written a script to do this in LINDA, which might be of some use. My cockpit has eight Bodnar boards at last count and this works pretty well. I have not yet figured out how to make it work with analogue controls.

  • Upvote 1

Share this post


Link to post

Sorry for the slow reply, thankyou I am sure this will help! I always find it suprising these work around needs to be made and are not built in to the sim software.

Thanks again,
Ben

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this