Jump to content
The simFlight Network Forums

Recommended Posts

Posted

If I trigger an input event like in the screenshot, assigned to a button it's ok and the mixture lever of the Carenado Dakota moves to mid position (every position from 0.0 to 1.0 works) and the linput event log shows:

253672 InputEvent received: ENGINE_MIXTURE_LEFT=8192.000000 (param=';FLOAT64')

If I do it from a Lua script, nothing happens.

ipc.execInputEvent("ENGINE_MIXTURE_LEFT", 0.5)

The log shows:

257828 InputEvent received: ENGINE_MIXTURE_LEFT=0.000000 (param=';FLOAT64')

There's probably something I do not understand.

 

Karl

image.png.2b2ad864314f1a963e3e1e3e414ed51c.png

Posted

Hmm, strange....I will take a look and get back to you....

Unfortunately I had a catastrophic crash on a windows (Insider) update last week and have had to re-install Windows, as well as MSFS, P3D, etc. As well as my development environment. No recent backup unfortunately either (the last one I had was from 2023!). So it may take a few days...

John

Posted

I can see the issue - the parameter is converted to an integer rather than a floating point value, so 0.5 is converted to 0. I will correct this.

I could provide you with a beta version, but I have discovered a very strange issue that I need to fix before I can provide any more updates. For some (unknown) reason, all builds since sometime mid-April have an issue with showing the 'Find Preset' panel, and pressing the 'Find Preset...' button causes FSUIPC7 to CTD. Its a very puzzling issue - no code change and even re-building existing released versions, where there was no issue, now suffer from this problem. It is very puzzling - and worrying....

John

 

 

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.