Jump to content
The simFlight Network Forums

Recommended Posts

Hi.

I build FS9 cockpit with Leaonardos Maddog as a platform.

This maddog have many data internally in the program, so it is not possible to read all values with the FSUIPC.

All autopilot settings for speed, heading, and altitude is intern data. So to be able to generate displays, I would like to read the push-button signal from FSUIPC.

I use Open cockpit displays and Leo Budnar BU0836X joystick controller.

The encoder provides a push button signal at the up count and a second push-button signal at the down-count. With these signals, I can simulate up and down counting on the displays.

But what FSUIPC offset is reliable for this feature. Can I use offset 03C0 or is there other options?. I know i can control the virtual joystick buttons, but thise are real joystick input.

Have I had the knowledge that I have today, then, all encoders should be connected to the Open Cockpit card and not to BU0836X joystick controller, it would have been easier to control the signals in the same hardware.

Thanks.

Best regards

Claus

Link to comment
Share on other sites

This maddog have many data internally in the program, so it is not possible to read all values with the FSUIPC.

I've never heard of too much data being a reason something cannot be done. Do you really mean you can't find a way to access it, via L:Vars or offsets?

The encoder provides a push button signal at the up count and a second push-button signal at the down-count. With these signals, I can simulate up and down counting on the displays.

But what FSUIPC offset is reliable for this feature. Can I use offset 03C0 or is there other options?

The offsets at 03C0 are expressly provided so that prgrams can detect the state of the buttons. There are no others for 'real' buttons. But with a rotary the buttons would be toggling on and off quite rapidly. I'm not sure you'd be able to catch them all in an external program. You'd probably need to add a second assignment for each button to increment or decrement a count in a user offset (there are 64 free ones from 66C0 - 66FF), and have your program read those instead.

Regards

Pete

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.