Jump to content
Sign in to follow this  
deyvol

HEADING BUG SET STREAM DECK PLUS

Recommended Posts

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

Share this post


Link to post
Share on other sites

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 by Lorby_SI
  • Like 1

LORBY-SI

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...