1
0
Fork 0
fgdata/Aircraft/Instruments-3d/ky196/ky196-comm2-hotspots.xml

208 lines
4.7 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
KY196 Comm2 radio hotspots
-->
<PropertyList>
<name>comm2 hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<actions>
<!-- ************************ COMM 2 *****************-->
<!--
<action>
<name>bezel outline</name>
<button>0</button>
<x>-80</x>
<y>-18</y>
<w>160</w>
<h>36</h>
</action>
-->
<action>
<name>com2 frequency decrease (decimal part)</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency decrease (integer part)</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (decimal part)</name>
<button>0</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (integer part)</name>
<button>1</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 volume increase</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/serviceable</property>
<value>true</value>
</equals>
</condition>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/volume</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>com2 power on</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/serviceable</property>
<value>false</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm[1]/serviceable</property>
<value>true</value>
</binding>
</action>
<action>
<name>com2 volume decrease</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<greater-than>
<property>/instrumentation/comm[1]/volume</property>
<value>0.0</value>
</greater-than>
</condition>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/volume</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>com2 power off</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/volume</property>
<value>0</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm[1]/serviceable</property>
<value>false</value>
</binding>
</action>
<action>
<name>swap com2 frequencies</name>
<button>0</button>
<x>-30</x>
<y>-14</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
</PropertyList>