1
0
Fork 0
fgdata/Aircraft/Instruments-3d/kns80/kns80-nav1-hotspots.xml

207 lines
4.5 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
KNS 80 Nav radio hotspots
-->
<PropertyList>
<name>nav1 hotspots</name>
<w-base>160</w-base>
<h-base>70</h-base>
<w>160</w>
<h>70</h>
<layers>
</layers>
<actions>
<!--
<action>
<name>bezel outline</name>
<x>-80</x>
<y>-35</y>
<w>160</w>
<h>70</h>
</action>
-->
<action>
<name>nav1 frequency decrease (decimal part)</name>
<button>0</button>
<x>54</x>
<y>-30</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<mask>decimal</mask>
<step>-0.05</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>nav frequency decrease (integer part)</name>
<button>1</button>
<x>54</x>
<y>-30</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>108</min>
<max>118</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>nav frequency increase (decimal part)</name>
<button>0</button>
<x>66</x>
<y>-30</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<mask>decimal</mask>
<step>0.05</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>nav frequency increase (integer part)</name>
<button>1</button>
<x>66</x>
<y>-30</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>108</min>
<max>118</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>nav volume increase</name>
<button>0</button>
<x>43</x>
<y>-34</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>instrumentation/nav/serviceable</property>
<value>true</value>
</equals>
</condition>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/volume</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>nav power on</name>
<button>0</button>
<x>43</x>
<y>-34</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>instrumentation/nav/serviceable</property>
<value>false</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>instrumentation/nav/serviceable</property>
<value>true</value>
</binding>
</action>
<action>
<name>nav volume decrease</name>
<button>0</button>
<x>37</x>
<y>-34</y>
<w>6</w>
<h>8</h>
<condition>
<greater-than>
<property>instrumentation/nav/volume</property>
<value>0.0</value>
</greater-than>
</condition>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/volume</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>nav power off</name>
<button>0</button>
<x>37</x>
<y>-34</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>instrumentation/nav/volume</property>
<value>0</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>instrumentation/nav/serviceable</property>
<value>false</value>
</binding>
</action>
<action>
<name>swap nav frequencies</name>
<button>0</button>
<x>-20</x>
<y>-24</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<property>instrumentation/nav/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
</PropertyList>