Make loudspeaker control ATC / chatter volume
This commit is contained in:
parent
156092a1a4
commit
1b11ce35f1
2 changed files with 21 additions and 2 deletions
|
@ -2558,7 +2558,7 @@
|
|||
<binding>
|
||||
<command>set-tooltip</command>
|
||||
<tooltip-id>speaker_volume_cpt-lbl</tooltip-id>
|
||||
<label>Loudspeaker control</label>
|
||||
<label>Radio volume control</label>
|
||||
</binding>
|
||||
</hovered>
|
||||
</animation>
|
||||
|
@ -2587,7 +2587,7 @@
|
|||
<binding>
|
||||
<command>set-tooltip</command>
|
||||
<tooltip-id>speaker_volume_fo-lbl</tooltip-id>
|
||||
<label>Loudspeaker control</label>
|
||||
<label>Radio volume control</label>
|
||||
</binding>
|
||||
</hovered>
|
||||
</animation>
|
||||
|
|
|
@ -152,4 +152,23 @@
|
|||
|
||||
</channel>
|
||||
|
||||
<channel name="Loudspeakers">
|
||||
|
||||
<!-- TODO audio switching -->
|
||||
<switch name="Loudspeaker">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value ="/controls/switches/loudspeaker-l">
|
||||
/controls/switches/loudspeaker-l ge /controls/switches/loudspeaker-r
|
||||
/systems/electrical/bus/dc-ess ge 25
|
||||
</test>
|
||||
<test logic="AND" value ="/controls/switches/loudspeaker-r">
|
||||
/controls/switches/loudspeaker-r gt /controls/switches/loudspeaker-l
|
||||
/systems/electrical/bus/dc-ess ge 25
|
||||
</test>
|
||||
<output>/sim/sound/atc/volume</output>
|
||||
<output>/sim/sound/chatter/volume</output>
|
||||
</switch>
|
||||
|
||||
</channel>
|
||||
|
||||
</system>
|
||||
|
|
Loading…
Add table
Reference in a new issue