December 31, 20232 yr Hello and happy new year to everyone. I am trying to set up the heading button on my Stream Deck Plus. I manage to make it increase and decrease the HDG, but I can't get it to, when pressed the button, in Rotary Encoder mode, set the HDG to the track heading, that is, exactly what the right mouse button does when you click on the heading wheel in the simulator. In the simulator events, I receive (>K:HEADING_BUG_SET), but I can only configure it if I place the value in Key Down Value (e.g., 320) and HEADING_BUG_SET in Key Down Event. How can I set the Key Down Value to the variable's value? Or can only a numerical value be placed? Excuse my English; I hope I made myself understood. Thanks, Deyvol
December 31, 20232 yr Commercial Member That is what the scripting engine in AAO is for, meaning, write and call a script that does this for you. One of the example scripts in AAO does exactly that. On the StreamDeck action either call "K:" -> "Scripts-ACT_HEADING_TO_AP" or implement the script code directly on the Action using "S:" -> "(A:PLANE HEADING DEGREES GYRO, Degrees) (>K:HEADING_BUG_SET)" Assuming that you are using MSFS: be mindful that this will only work for aircraft that actually use the default variables and events. That doesn't have to be the case, and it can be different for each aircraft. Furthermode, the AP has more than one "slot" in MSFS, and you may have to take that into account. Meaning, if it doesn't work, post a new question, detailing the aircraft that you are trying to do this with. Edited December 31, 20232 yr by Lorby_SI LORBY-SI
December 31, 20232 yr Author OOOOHHH, works perfect! thank you so much!! Sorry, I'm using MSFS and Cirrus SF50.
Archived
This topic is now archived and is closed to further replies.