Jump to content
The simFlight Network Forums

Assigning two functions to one axis?


belevezero

Recommended Posts

My goal is to assign a button, like SHIFT for example, to swap my throttle lever from controlling manifold pressure over to controlling propeller RPMs on the fly.

I only have one throttle lever on my aging Logitech Extreme Pro, and I’m in love with the DC-6 — this is a problem. 

Is this something that I could accomplish with FSUIPC?

Link to comment
Share on other sites

8 hours ago, belevezero said:

Is this something that I could accomplish with FSUIPC?

You could do this but you would have to write a lua script and control your axis assignments in lua, monitor for the button press and switch the control used when you receive the button press event. You would need to assign your axis to write its value to an FSUIPC offset, monitor that offset in lua (using event.offset) and then either send the appropriate control (for either manifold pressure or propeller RPM) depending upon whether the shift key has been pressed or not.

John

Link to comment
Share on other sites

4 hours ago, John Dowson said:

You could do this but you would have to write a lua script and control your axis assignments in lua, monitor for the button press and switch the control used when you receive the button press event. You would need to assign your axis to write its value to an FSUIPC offset, monitor that offset in lua (using event.offset) and then either send the appropriate control (for either manifold pressure or propeller RPM) depending upon whether the shift key has been pressed or not.

John

Thank you for replying. It's not that I know how to do any of that, but if I find the time and patience at least I know it's possible!

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.