Jump to content
The simFlight Network Forums

How to trigger B-Vars / Client Equivalent for ipc.execInputEvent


Recommended Posts

Look through the Reference but could not find something to trigger a B-Var/InputEvent - like it is possible with in lua with the ipc.execInputEvent Function.

Did I overlook something or is this indeed not possible via the C# Client?

Link to comment
Share on other sites

There are no features in John's WAPI dll that are specifically for BVars, so the C# client doesn't have them either.

You might be able to trigger them with Calculator Code which can be sent via MSFSVariableServices.ExecuteCalculatorCode().

I can't tell you the syntax for this as I don't know calculator code, but you can probably find it elsewhere or ask John in the main MSFS (FSUIPC7) support forum.

Paul

Link to comment
Share on other sites

  • 1 month later...
18 hours ago, John Dowson said:

@Fragtality You can trigger Input Events via offset 0x7C50.

It is not possible to trigger B-events via calculator code. You need to use the equivalent Input Event.

John

Thanks!
I've implemented it via SimConnect by now 😉 

Link to comment
Share on other sites

37 minutes ago, Fragtality said:

I've implemented it via SimConnect by now 😉 

Ok - my response was a bit late! Sorry about that - I don't check Paul's forum often. If its not a specific question on Paul's dll, better to also tag me in the question and I also be notified.

Cheers,

John

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.