Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi,

is there a possibility to assign an action to a button while double clicking the button ? In particular I have the Elev Trim Up action assigned to a Joystick button (hold), and I would like to assign at that same button the Custom Camera 1 view, without having the view change everytime I use the elevator trim. So assigning the Custom Camera 1 view to that button, but triggered by a double click of the button, could be the solution. Or maybe there is another solution which I cannot see... 

Thanks

 

Ezio

Posted

Please see the example TripleUse.lua script, which will be in the Example Lua plugins.zip file in your FSUIPC7 documents folder. This shows how to use a button for single press, long press and double press. There is also a user contribution that expands on this, available here: 

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.