ca5856f86b
nasal file corrections ...
473 lines
No EOL
14 KiB
XML
473 lines
No EOL
14 KiB
XML
<?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>
|
|
|
|
<!-- DATA MODE 0 -->
|
|
|
|
<action>
|
|
<name>nav frequency decrease (decimal part)</name>
|
|
<button>0</button>
|
|
<x>54</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>-1</value>
|
|
</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>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>-10</value>
|
|
</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>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>1</value>
|
|
</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>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>10</value>
|
|
</binding>
|
|
</action>
|
|
|
|
<!-- DATA MODE 1 -->
|
|
|
|
<action>
|
|
<name>radial decrease small</name>
|
|
<button>0</button>
|
|
<x>54</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>-1</value>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>radial decrease large</name>
|
|
<button>1</button>
|
|
<x>54</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>-10</value>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>radial increase small</name>
|
|
<button>0</button>
|
|
<x>66</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>1</value>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>radial increase large</name>
|
|
<button>1</button>
|
|
<x>66</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>10</value>
|
|
</binding>
|
|
</action>
|
|
|
|
<!-- DATA MODE 2 -->
|
|
|
|
<action>
|
|
<name>distance decrease small</name>
|
|
<button>0</button>
|
|
<x>54</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>2</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>-1</value></binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>distance decrease large</name>
|
|
<button>1</button>
|
|
<x>54</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>2</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>-10</value>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>distance increase small</name>
|
|
<button>0</button>
|
|
<x>54</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>2</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>1</value></binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>distance increase large</name>
|
|
<button>1</button>
|
|
<x>54</x>
|
|
<y>-30</y>
|
|
<w>12</w>
|
|
<h>16</h>
|
|
<condition>
|
|
<equals>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<value>2</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/instrumentation/kns-80/data-adjust</property>
|
|
<value>10</value>
|
|
</binding>
|
|
</action>
|
|
|
|
<!-- END DATA ENTRY -->
|
|
|
|
<action>
|
|
<name>volume increase</name>
|
|
<button>0</button>
|
|
<x>43</x>
|
|
<y>-34</y>
|
|
<w>6</w>
|
|
<h>8</h>
|
|
<condition>
|
|
<property>instrumentation/kns-80/serviceable</property>
|
|
</condition>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>instrumentation/kns-80/volume</property>
|
|
<step>0.05</step>
|
|
<min>0.0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>ident toggle1</name>
|
|
<button>1</button>
|
|
<x>43</x>
|
|
<y>-34</y>
|
|
<w>6</w>
|
|
<h>8</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>instrumentation/nav/ident</property>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>nav power on</name>
|
|
<button>0</button>
|
|
<x>43</x>
|
|
<y>-34</y>
|
|
<w>6</w>
|
|
<h>8</h>
|
|
<condition>
|
|
<not>
|
|
<property>instrumentation/kns-80/serviceable</property>
|
|
</not>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>instrumentation/kns-80/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/kns-80/volume</property>
|
|
<value>0.0</value>
|
|
</greater-than>
|
|
</condition>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>instrumentation/kns-80/volume</property>
|
|
<step>-0.05</step>
|
|
<min>0.0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>ident toggle2</name>
|
|
<button>1</button>
|
|
<x>37</x>
|
|
<y>-34</y>
|
|
<w>6</w>
|
|
<h>8</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>instrumentation/nav/ident</property>
|
|
</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/kns-80/volume</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>instrumentation/kns-80/serviceable</property>
|
|
<value>false</value>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>select vor modes</name>
|
|
<button>0</button>
|
|
<x>-65</x>
|
|
<y>-24</y>
|
|
<w>12</w>
|
|
<h>6</h>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>
|
|
test = getprop("/instrumentation/kns-80/nav-mode");
|
|
if(test != 0){
|
|
setprop("/instrumentation/kns-80/nav-mode",0);
|
|
setprop("/instrumentation/nav/slaved-to-gps", 0);
|
|
}else{
|
|
setprop("/instrumentation/kns-80/nav-mode",1);
|
|
setprop("/instrumentation/nav/slaved-to-gps", 1);
|
|
}
|
|
</script>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>select rnav modes</name>
|
|
<button>0</button>
|
|
<x>-50</x>
|
|
<y>-24</y>
|
|
<w>12</w>
|
|
<h>6</h>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>
|
|
test = getprop("/instrumentation/kns-80/nav-mode");
|
|
if(test != 2){setprop("/instrumentation/kns-80/nav-mode",2);
|
|
}else{setprop("/instrumentation/kns-80/nav-mode",3);}
|
|
setprop("/instrumentation/nav/slaved-to-gps", 1);
|
|
</script>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>dme hold</name>
|
|
<button>0</button>
|
|
<x>-35</x>
|
|
<y>-24</y>
|
|
<w>12</w>
|
|
<h>6</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>instrumentation/kns-80/dme-hold</property>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>select used frequency</name>
|
|
<button>0</button>
|
|
<x>-20</x>
|
|
<y>-24</y>
|
|
<w>12</w>
|
|
<h>6</h>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>instrumentation/kns-80/use</property>
|
|
<property>instrumentation/kns-80/display</property>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>select displayed frequency</name>
|
|
<button>0</button>
|
|
<x>-5</x>
|
|
<y>-24</y>
|
|
<w>12</w>
|
|
<h>6</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>instrumentation/kns-80/display</property>
|
|
<step>1</step>
|
|
<min>0</min>
|
|
<max>4</max>
|
|
<wrap>true</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>select data mode</name>
|
|
<button>0</button>
|
|
<x>10</x>
|
|
<y>-24</y>
|
|
<w>12</w>
|
|
<h>6</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>instrumentation/kns-80/data-mode</property>
|
|
<step>1</step>
|
|
<min>0</min>
|
|
<max>3</max>
|
|
<wrap>true</wrap>
|
|
</binding>
|
|
</action>
|
|
</actions>
|
|
|
|
</PropertyList> |