gvt 7 Posted November 1, 2023 Share Posted November 1, 2023 Hello, how would you bind the command, condition and variable to address only one command when pressing two buttons of the autopilot like HDG and NAV at the same time tougether? thanks Link to comment Share on other sites More sharing options...
gvt 7 Posted November 5, 2023 Author Share Posted November 5, 2023 Probably with condition AND? Two conditions, one variable? Link to comment Share on other sites More sharing options...
Aerosoft SimWare 731 Posted November 5, 2023 Aerosoft Share Posted November 5, 2023 Hi, I don't understand what you want to achieve. Do you mean you would address one function only if TWO specific buttons are pressed ? Can you give a practical example ? Thanks. Link to comment Share on other sites More sharing options...
gvt 7 Posted November 5, 2023 Author Share Posted November 5, 2023 Yes, if I press the button HDG and NAV at the same time, then a spesific command sim/autopilot/hdg_nav should be executed. if only the HDG button is pressed then sim/autopilot/heading if only NAV is pressed then sim/autopilot/NAV as in the real autopilot. I can handle it with the aid of the fn button command from Sparker but the challenge is to get both button the same time. Link to comment Share on other sites More sharing options...
Aerosoft SimWare 731 Posted November 6, 2023 Aerosoft Share Posted November 6, 2023 Hi, Just a final check before I work on it. If I understand the generic flow : 1 - HDG button only pressed : Function 1 is triggered 2 - VAV button only pressed : Function 2 is triggered 3 - HDG and NAV buttons are pressed : Function 3 is triggered but NOT Functions 1 & 2. Is that correct ? Link to comment Share on other sites More sharing options...
gvt 7 Posted November 6, 2023 Author Share Posted November 6, 2023 Correct Link to comment Share on other sites More sharing options...
Aerosoft SimWare 731 Posted November 6, 2023 Aerosoft Share Posted November 6, 2023 This is going to be almost impossible unless you press both buttons at the VERY same time. As this is likely not the case, you will have either Function 1 or 2 activated a short time after the first button is pressed and before the second one is. There would perhaps be a way to exclude Funtions 1 & 2 while both buttons are pressed, but you will always have some "instability" between the two presses. Is this acceptable ? Link to comment Share on other sites More sharing options...
gvt 7 Posted November 6, 2023 Author Share Posted November 6, 2023 Hello. thanks for thinking about. I have played around with button status and conditions. The result is that all 3 functions are more or less activated. Depending on timing. I have to try some exclusions. a working one is as mentioned with the fn button. it’s the challenge that pushes me 1 Link to comment Share on other sites More sharing options...
gvt 7 Posted November 8, 2023 Author Share Posted November 8, 2023 hello, so eventually I found the solution. Both button pressed, but the command is on the NAV button "release event". condition that HDG button status = 1, then variable sim/autopilot/hdg_nav is triggerd when releasing the button. As the release command is last, it will override the other two for HDG and NAV as "press events". it works just fine. cheers 1 Link to comment Share on other sites More sharing options...
Aerosoft SimWare 731 Posted November 9, 2023 Aerosoft Share Posted November 9, 2023 Hi, That is a great solution. And it is even greatest to share it with other users ! Many thanks. Link to comment Share on other sites More sharing options...
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