Closed
Description
Hi !
First of all, many thanks for this fantastic tool.
I'm playing with it, try things, some work, some don't :-)
I'm trying to make buttons allowing to switch the NAV mode GPS, NAV1, NAV2.
{
"index": 3,
"event_press": "TOGGLE_GPS_DRIVES_NAV1",
"simvar_led": "GPS_DRIVES_NAV1"
},
{
"index": 6,
"event_press": {
"event": "AP_NAV_SELECT_SET",
"type": "manual",
"value": 1
}
},
{
"index": 14,
"event_press": {
"event": "AP_NAV_SELECT_SET",
"type": "manual",
"value": 2
},
That works fine : button 3 toggles NAV/GPS (and button 3 lights up if in GPS mode).
Now I'd like to light up button 6 if NAV1 is selected, and button 14 if NAV2, but the simvar is AUTOPILOT_NAV_SELECTED, which give a different value accoding to the NAV selected.
Whats is please the syntax for a conditional "simvar_led" ?