From faabe6928c71ba90111bb99355beade5c3890882 Mon Sep 17 00:00:00 2001 From: Semir Gebran Date: Fri, 25 Oct 2019 22:00:11 +0200 Subject: [PATCH] Clicking CPT audio panel toggles headset on/off --- Models/FlightDeck/a320.flightdeck.xml | 12 ++++++++++++ Models/Instruments/Audio/Audio1.xml | 25 +++++++++++++++++++------ 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/Models/FlightDeck/a320.flightdeck.xml b/Models/FlightDeck/a320.flightdeck.xml index 01db06e0..a762fb9c 100644 --- a/Models/FlightDeck/a320.flightdeck.xml +++ b/Models/FlightDeck/a320.flightdeck.xml @@ -6528,4 +6528,16 @@ + + + select + HeadsetFo + HeadsetCpt + + + /controls/audio/headset-toggle + + + + diff --git a/Models/Instruments/Audio/Audio1.xml b/Models/Instruments/Audio/Audio1.xml index 1660620f..83c1643c 100644 --- a/Models/Instruments/Audio/Audio1.xml +++ b/Models/Instruments/Audio/Audio1.xml @@ -6,6 +6,19 @@ res/Audio.ac + + + pick + audio_body + + + + property-toggle + /controls/audio/headset-toggle + + + + pick @@ -1083,7 +1096,7 @@ - + select audio_vhf2_led @@ -1106,7 +1119,7 @@ - + select audio_vhf3_led @@ -1129,7 +1142,7 @@ - + Panel lighting material @@ -1149,7 +1162,7 @@ audio_glare audio_int_rad - + select audio_hf1_led @@ -1172,7 +1185,7 @@ - + select audio_hf2_led @@ -1195,7 +1208,7 @@ - + select audio_mech_led