Clicking CPT audio panel toggles headset on/off
This commit is contained in:
parent
b8dd47cd5d
commit
faabe6928c
2 changed files with 31 additions and 6 deletions
|
@ -6528,4 +6528,16 @@
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<!-- headset show/hide -->
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>HeadsetFo</object-name>
|
||||||
|
<object-name>HeadsetCpt</object-name>
|
||||||
|
<condition>
|
||||||
|
<not>
|
||||||
|
<property>/controls/audio/headset-toggle</property>
|
||||||
|
</not>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -6,6 +6,19 @@
|
||||||
|
|
||||||
<path>res/Audio.ac</path>
|
<path>res/Audio.ac</path>
|
||||||
|
|
||||||
|
<!-- Headset show/hide on Audio Control Panel(click on body) -->
|
||||||
|
<animation>
|
||||||
|
<type>pick</type>
|
||||||
|
<object-name>audio_body</object-name>
|
||||||
|
<action>
|
||||||
|
<button>0</button>
|
||||||
|
<binding>
|
||||||
|
<command>property-toggle</command>
|
||||||
|
<property>/controls/audio/headset-toggle</property>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<!-- INT/RAD switch -->
|
<!-- INT/RAD switch -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
|
|
Loading…
Reference in a new issue