Ray Proudfoot

Programming controls for GoFlight via FSUIPC5 and your SDK

Recommended Posts

I have found an excellent guide on Pete Dowson's forum that explains how to program GoFlight units for use with the PMDG737. I have managed to program switches such as Probe Heat and Yaw Damper but I'm having a problem with the Course selector on the MCP - Captain's side.

When I rotate the GoFlight knob only every other click is recognised. Consequently the two readouts differ. Can anyone help please?

I am using #define MOUSE_FLAG_WHEEL_UP      0x00004000 and #define MOUSE_FLAG_WHEEL_DOWN    0x00002000 and the #define    EVT_MCP_COURSE_SELECTOR_L                (THIRD_PARTY_EVENT_ID_MIN + 376)

In FSUIPC the control sent when button pressed is <70008> parameter 16384 for increasing and <70008> 8192 for decreasing the value.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Sometimes the best solution is the easiest one.  The PMDG Options menu includes dozens of key commands for things like MCP HDG.  Make an assignment and then use FSUIPC to covert the button/switch action into that key command.

Share this post


Link to post
Share on other sites
14 minutes ago, downscc said:

Sometimes the best solution is the easiest one.  The PMDG Options menu includes dozens of key commands for things like MCP HDG.  Make an assignment and then use FSUIPC to covert the button/switch action into that key command.

Okay, I’ll try that but I’d still like to know why the method I’ve used is not working as it should.

I’ve posted on the FSUIPC forum too as it’s that utility I’m using to program the action.

Share this post


Link to post
Share on other sites

Got the answer from Pete Dowson. I had only programmed the control for button press. Once I added the same command for button release the GoFlight unit and the MCP now stay in unison.👍

Share this post


Link to post
Share on other sites

Sadly that solution doesn't work. If I rotate the control too quickly the values go out of sequence. Has anyone else with a home cockpit managed to program this function?

When the NAV and COM frequencies can be controlled directly by GoFlight GF166 units it's odd the OBS cannot. Any reasoning behind that decision?

Share this post


Link to post
Share on other sites

Would anyone from PMDG like to respond to this issue please? Having spent a fair bit of money on GoFlight hardware it’s disappointing it can’t operate OBS correctly.

Share this post


Link to post
Share on other sites
12 minutes ago, Ray Proudfoot said:

Would anyone from PMDG like to respond to this issue please? Having spent a fair bit of money on GoFlight hardware it’s disappointing it can’t operate OBS correctly.

Ray,

The SDK has all available values you want. As per SDK "This SDK presumes familiarity with standard C++ coding practices and is designed primarily for use by skilled software developers who are seeking to interface with the PMDG 737NGX software. Please understand that PMDG, PMDG Simulations and affiliates are unable to provide coding assistance, advice or support for developers seeking to use this SDK. This SDK is provided on an “as-is” basis and is not subject to support or revision by PMDG Simulations, LLC"

 

I believe there is already an interface for goflight products and our planes from https://www.pollypotsoftware.org.uk/

Share this post


Link to post
Share on other sites

Chris,

Thanks for your reply. I have been using FSUIPC5 in conjunction with a document uploaded by an enthusiast on how to program switches and buttons using your SDK. However, whilst simple switches like Pitot Heat work fine the OBS doesn't because the changes are too rapid for FSUIPC to evaluate.

I was aware of the Pollypot software but thought it was only for the MCP. Now that I know it can also handle GF166 and other units I'll ask on their forum.

Share this post


Link to post
Share on other sites

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