Jump to content
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

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

MarkH

gGzCVFp.jpg
Core i7-7700K / 32Gb DDR4 / Gigabyte GTX1070 / 1080p x 3 x weird / Win7 64 Pro

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  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...