Jump to content
Sign in to follow this  
Stefan01

FSLABs A320 Macro for the TER ON ND Button

Recommended Posts


I made a small macro to control the TER ON ND button with the VRinsight MCP. In the following a short instruction to reproduce. Simply sharing is not possible because the mouse macro depends on the screen resolution.
The tricky part of this button in contrast to the other buttons is that you need 2 mouseflags for the mouse macro. First you have to run the mouseflag: 3 (Left single click) and then 13 (Left release) one after the other.

In detail I did this as follows:
A. I created a mouse macro in FSUIPC named FSLA3XX_SL.MCRO with the following content:

[Macros]
1=TER_ON_ND1=RX22002004,3
2=TER_ON_ND2=RX22002004,13

Attention:the numerical values behind RX depend on the screen resolution, for me it is 22002004, for you it can be a different value.

The macro is stored in the FSUIPC main folder.


B. with the LINDA editor the user.lua around the following lines extended:

function SL_TERR_ON_ND_toggle()

ipc.macro("FSLA3XX_SL: TER_ON_ND1")
DspShow("TERR", "ON_ND")
ipc.macro("FSLA3XX_SL: TER_ON_ND2")
end


C. in the LINDA GUI the function SL_TERR_ON_ND_toggle is assigned to the TERR key.
That was it, good luck
Stefan

  • Like 2

regards
Stefan Liebe

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...