eziocin Posted September 18, 2023 Report Posted September 18, 2023 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
John Dowson Posted September 19, 2023 Report Posted September 19, 2023 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
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