kaha Posted Tuesday at 11:15 AM Report Posted Tuesday at 11:15 AM 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
John Dowson Posted Tuesday at 04:43 PM Report Posted Tuesday at 04:43 PM 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
kaha Posted Tuesday at 11:33 PM Author Report Posted Tuesday at 11:33 PM Please take your time, John.
John Dowson Posted yesterday at 08:49 AM Report Posted yesterday at 08:49 AM 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
kaha Posted yesterday at 09:31 AM Author Report Posted yesterday at 09:31 AM John, no worries, I can work around the input event issue. Take your time to find the CTD. Karl
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now