Hi all,
I've got an OpenCockpits CDU I'm doing testing with in my pit and just wanted to double check my understanding of how push buttons work (as opposed to toggle switches) in the Export.lua script.
Let's say you want to simulate a 'Z' on the CDU, that means you set Device 9 (CDU) Button 3052 to value 1.0. I then have to immediately send through another command to the CDU to set that button back to 0.0. I guess this simulates the action of pressing and releasing the button. If I don't send the 0.0 through, the in game CDU gets an endless line of 'Z's.
Is this the best way of handling the control of push buttons in the sim (sending two commands through for each button press)? Or can it be achieved in a simpler manner?
Thanks,
Ken.