Jump to content
The simFlight Network Forums

Capturing PFC.DLL yoke button presses in FSUIPC?


Recommended Posts

Pete,

Is there a memory offset location in FSUIPC that would allow a programmer to read yoke button/rocker switch presses (events) on a PFC Cirrus Beech yoke? For example: a press of the right rear-mounted button on the Beech yoke would set off an external event (or run a program), etc.

Link to comment
Share on other sites

Is there a memory offset location in FSUIPC that would allow a programmer to read yoke button/rocker switch presses (events) on a PFC Cirrus Beech yoke?

No, no offset you can access. But you could program the button (in FSUIPC's button page) to set one of the "virtual button" flags in offsets 3340 -- which you can read yourself.

Or, for a more extensive implementation you could obtain some private offsets for yourself and set bits or values in those.

The FSUIPC controls which write to FSUIPC offsets are availble for any Key or Button assignments. Look for "Offset ..." controls. There are 12 of them, for setting values, setting bits, clearing bits and toggling bits on 1-byte, 2-byte and 4-byte locations.

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.