aurel42 Posted May 12, 2024 Report Posted May 12, 2024 Quote Why does the mixture behave strangely in the turbocharged version, and I cannot bind it to hardware controls? Microsoft Flight Simulator’s turbocharger simulation has been significantly flawed for several generations. This aircraft has a custom turbocharger that fixes nearly all of these issues, and is much more realistic, as a result. To make these changes, the new “Input Event” system is used to intercept hardware and key-bindings for the mixture control axis. Please make sure that your hardware bindings are using the Key Events, such as “K:MIXTURE1_DECR_SMALL”, or “K:MIXTURE1_SET” to set the mixture, and NOT setting either “A:GENERAL ENG MIXTURE LEVER POSITION:1”, or “B:FUEL_Mixture_1_Set”. Alternatively, setting “L:BKSQ_MixtureLeverPosition_1” from 0-100 will also work to set the mixture axis. This is from the FAQ section of the Piston Duke manual. I've never used LUA to handle an axis. Anyone got a ready-made solution for me? (While I was looking for a solution, I came across a forum post saying that the range for the L: variable is actually 0-1, not 0-100.)
Andre92 Posted May 14, 2024 Report Posted May 14, 2024 Hello Aurel42, You can add the Lvars to myevents.txt and set a Parameter to convert them: If you don't have a myevents.txt in your fsuipc folder, simply create one, then paste in: // Blacksquare Duke Mixture BS_Mixture_1#$Param 327.680 / 50 + (>L:BKSQ_MixtureLeverPosition_1) BS_Mixture_2#$Param 327.680 / 50 + (>L:BKSQ_MixtureLeverPosition_2) This will work for an Axis like the Honeycomb brave which has a range of -16384 to +16384. Then assign your Axis by selecting Send Preset to FS and select the Mixture. If your Axis is inverted, you can inverse them by adding ,*-1 to the Axis in your Duke Profile f.e. 3=LU,256,F,PBS_Mixture_1,0,0,0,*-1 -{ TO SIM: Preset Control }- Btw, the Lvar range is 0-100 for the Mixture. Hope this helps and have fun with the Duke. Andre 1 1
aurel42 Posted May 14, 2024 Author Report Posted May 14, 2024 That was easy, much appreciated! I know how to handle axes in the future.
rlashier Posted May 17, 2024 Report Posted May 17, 2024 Hello. This is my first post on this forum, as I have not encountered issues in the past with assigning axes and buttons to my controllers until I attempted to assign the Blacksquare Duke Mixture controls to axes on my CH throttle quadrant. Frankly, I have not used Lua scripts or presets in my previous experience with FSUIPC and those areas seem appropriate for advanced users, which I am not. I tried to follow the advice of this thread, I created a my events text file in my FSUIPC folder, and I pasted the " // Blackqsuare Duke Mixture" text data above to that text file. However, when working with the FSUIPC7 axes assignments dialogue box, I do not see any option listed there to "Send Preset to FS." I only see the options for direct to FSUIPC calibration, to FS as a normal axis, and an option for offsets. What am I missing or doing wrong? I am using FSUIPC7 v. 7.3.19 Thanks, Rich
John Dowson Posted May 18, 2024 Report Posted May 18, 2024 12 hours ago, rlashier said: What am I missing or doing wrong? I am using FSUIPC7 v. 7.3.19 You are using a very old and unsupported version - please update to the latest and only supported version, 7.4.11. John
rlashier Posted May 18, 2024 Report Posted May 18, 2024 Thanks. FSUIPC updated and Blacksquare mixture preset works just fine! Rich
V1ROTA7E Posted April 11 Report Posted April 11 I've read and reread this thread but can not figure out what to do to get this set up.....I need someone to talk to me like i'm 5 years old. I've used FSUIPC for years, but really only very basic features. I truly appreciate the assistance.
John Dowson Posted April 11 Report Posted April 11 6 hours ago, V1ROTA7E said: I've read and reread this thread but can not figure out what to do to get this set up..... Why not? Have you tried? It is incredibly easy and explained well: On 5/14/2024 at 11:27 AM, Andre92 said: If you don't have a myevents.txt in your fsuipc folder, simply create one, then paste in: // Blacksquare Duke Mixture BS_Mixture_1#$Param 327.680 / 50 + (>L:BKSQ_MixtureLeverPosition_1) BS_Mixture_2#$Param 327.680 / 50 + (>L:BKSQ_MixtureLeverPosition_2) This will work for an Axis like the Honeycomb brave which has a range of -16384 to +16384. Then assign your Axis by selecting Send Preset to FS and select the Mixture. So, just create a myevents.txt file (in your FSUIPC7 installation folder), if you do not already have one, and paste those entries into it, reload the presets if FSUIPC7 is running (using File->Reload Presets) and then assign your axis to those presets in the normal way, by selecting Send Preset to FS, click the Find Preset.. button and navigate to those presets (under Personal -> Blacksquare Duke Mixture) and select the the preset (or presets) to use.
V1ROTA7E Posted April 11 Report Posted April 11 Well this was really weird, and I think I've been able to get it to work! I don't like my desktop cluttered with shortcuts, so when restarting FSUIPC, I hit Start type FSUIPC, then the first option is FSUIPC7.exe. When I start it that way, for some reason, the "Send Preset to FS" option doesn't show up...just the first three. When I go into the folder itself and select FSUIPC7.exe, everything works fine. So I've created a new shortcut from the original .exe and it seems to work well now. Anyway, thanks for the help. It is working now!
John Dowson Posted April 11 Report Posted April 11 2 hours ago, V1ROTA7E said: When I start it that way, for some reason, the "Send Preset to FS" option doesn't show up...just the first three. Then that must be an older version that is linked to the windows start menu. Start it again that way, check the version number, then use File->Open Installation folder to see where it is installed. Then exit and delete/remove it.
V1ROTA7E Posted Saturday at 01:22 PM Report Posted Saturday at 01:22 PM On 4/11/2025 at 1:45 PM, John Dowson said: Then that must be an older version that is linked to the windows start menu. Start it again that way, check the version number, then use File->Open Installation folder to see where it is installed. Then exit and delete/remove it. sorry for the late response. I'll see if i can find it again. The version I'm using now is 7.5.3, which i believe is the latest. Side note, the mixture axis was assigned and working well. Now for some reason, it's not working. Everything is as it was before when it was working...But I have no idea why it isn't working anymore. Edit: Found it. It was version 7.3.19. It must have copied over from my old PC! FSUIPC7.ini myevents.txt
John Dowson Posted Sunday at 07:59 AM Report Posted Sunday at 07:59 AM Any issue with button assignments, I need to see both your FSUIPC7.ini and FSUIPC7.log files, the latter with logging for Buttons & Keys activated, and if assigned to presets also WAPI->Debug level logging. Note that it could be that you are using an aircraft with a different name that is not covered by your profile. You should shorten your aircraft names in your profile sections and use substring matching. i.e. change: Quote [Profile.BLSQ Duke Piston] 1=Black Square Grand Duke N18VK 2=Black Square B60 Duke N28HD 3=Black Square Grand Duke N339CL to Quote [Profile.BLSQ Duke Piston] 1=Black Square Grand Duke 2=Black Square B60 Duke You should do the same for all the aircraft names in your profiles. i.e. use the shortest substring)s) of the name that matches all the aircraft you want to capture in that profile and no others. You should get into the habit of editing the aircraft name in a profile whenever you add an aircraft to a profile or create a new profile. John
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