Tooltips and knobs for the C172P.
This is proof of concept, not a complete conversion.
This commit is contained in:
parent
8bb70f0326
commit
7e0a45c798
15 changed files with 699 additions and 1340 deletions
|
@ -126,121 +126,36 @@
|
||||||
<!-- Altimeter -->
|
<!-- Altimeter -->
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>knob</type>
|
||||||
<object-name>click-L</object-name>
|
<object-name>click-L</object-name>
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<name>decrease calibrate fine</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
||||||
<step>-0.01</step>
|
|
||||||
<min>26.0</min>
|
|
||||||
<max>33.0</max>
|
|
||||||
<wrap>false</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>decrease calibrate coarse</name>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
||||||
<step>-0.1</step>
|
|
||||||
<min>26.0</min>
|
|
||||||
<max>33.0</max>
|
|
||||||
<wrap>false</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>decrease calibrate fine (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
||||||
<step>-0.01</step>
|
|
||||||
<min>26.0</min>
|
|
||||||
<max>33.0</max>
|
|
||||||
<wrap>false</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>increase calibrate fine (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
||||||
<step>0.01</step>
|
|
||||||
<min>26.0</min>
|
|
||||||
<max>33.0</max>
|
|
||||||
<wrap>false</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>click-R</object-name>
|
<object-name>click-R</object-name>
|
||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
|
|
||||||
<action>
|
<action>
|
||||||
<name>increase calibrate fine</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
<property>/instrumentation/altimeter/setting-inhg</property>
|
||||||
<step>0.01</step>
|
<factor>0.01</factor>
|
||||||
<min>26.0</min>
|
<min>26.0</min>
|
||||||
<max>33.0</max>
|
<max>33.0</max>
|
||||||
<wrap>false</wrap>
|
<wrap>false</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
|
||||||
<name>increase calibrate coarse</name>
|
<hovered>
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
<tooltip-id>alt-setting</tooltip-id>
|
||||||
<step>0.1</step>
|
<label>Altimeter In Hg: %5.2f</label>
|
||||||
<min>26.0</min>
|
<property>instrumentation/altimeter/setting-inhg</property>
|
||||||
<max>33.0</max>
|
|
||||||
<wrap>false</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
<action>
|
|
||||||
<name>decrease calibrate fine (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
||||||
<step>-0.01</step>
|
|
||||||
<min>26.0</min>
|
|
||||||
<max>33.0</max>
|
|
||||||
<wrap>false</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>increase calibrate fine (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
||||||
<step>0.01</step>
|
|
||||||
<min>26.0</min>
|
|
||||||
<max>33.0</max>
|
|
||||||
<wrap>false</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,4 +15,18 @@
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>pick</type>
|
||||||
|
<object-name>Ring</object-name>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>airspeed</tooltip-id>
|
||||||
|
<label>Magnetic heading: %3d</label>
|
||||||
|
<property>instrumentation/magnetic-compass/indicated-heading-deg</property>
|
||||||
|
<mapping>heading</mapping>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
|
</animation>
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -19,38 +19,39 @@
|
||||||
|
|
||||||
<!-- magneto switch -->
|
<!-- magneto switch -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>knob</type>
|
||||||
<object-name>click-L</object-name>
|
<object-name>click-L</object-name>
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<name>decrease mags</name>
|
|
||||||
<button>0</button>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/controls/engines/engine/magnetos</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>3</max>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>click-R</object-name>
|
<object-name>click-R</object-name>
|
||||||
|
|
||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
<action>
|
<action>
|
||||||
<name>increase mags</name>
|
|
||||||
<button>0</button>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/controls/engines/engine/magnetos</property>
|
<property>/controls/engines/engine/magnetos</property>
|
||||||
<step>1</step>
|
<factor>1</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>3</max>
|
<max>3</max>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>magneto-switch</tooltip-id>
|
||||||
|
<label>Magnetos: %s</label>
|
||||||
|
<property>controls/engines/engine/magnetos</property>
|
||||||
|
<mapping>nasal</mapping>
|
||||||
|
<script>
|
||||||
|
var m = getprop('controls/engines/engine/magnetos');
|
||||||
|
if (m == 1) return 'RIGHT';
|
||||||
|
if (m == 2) return 'LEFT';
|
||||||
|
if (m == 3) return 'BOTH';
|
||||||
|
return 'OFF';
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
<!-- Starter -->
|
<!-- Starter -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
|
@ -72,6 +73,15 @@
|
||||||
</binding>
|
</binding>
|
||||||
</mod-up>
|
</mod-up>
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>starter-switch</tooltip-id>
|
||||||
|
<label>Engine Starter</label>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
|
|
||||||
</animation>
|
</animation>
|
||||||
<!-- key animations -->
|
<!-- key animations -->
|
||||||
<animation>
|
<animation>
|
||||||
|
|
|
@ -141,122 +141,40 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- VOR 1 Radial adjust -->
|
<!-- VOR 1 Radial adjust -->
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>click-L</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<name>small decrease</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav/radials/selected-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>large decrease</name>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav/radials/selected-deg</property>
|
|
||||||
<step>-5</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav/radials/selected-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav/radials/selected-deg</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
<type>knob</type>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>click-R</object-name>
|
<object-name>click-R</object-name>
|
||||||
|
<object-name>click-L</object-name>
|
||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
|
|
||||||
|
<shift-repeat type="int">5</shift-repeat>
|
||||||
|
|
||||||
<action>
|
<action>
|
||||||
<name>small increase</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/instrumentation/nav/radials/selected-deg</property>
|
<property>/instrumentation/nav/radials/selected-deg</property>
|
||||||
<step>1</step>
|
<factor>1</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>360</max>
|
<max>360</max>
|
||||||
<wrap>1</wrap>
|
<wrap>1</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
|
||||||
<name>large increase</name>
|
<hovered>
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>nav1-obs</tooltip-id>
|
||||||
|
<label>Nav 1 Radial %3d</label>
|
||||||
|
<mapping>heading</mapping>
|
||||||
<property>/instrumentation/nav/radials/selected-deg</property>
|
<property>/instrumentation/nav/radials/selected-deg</property>
|
||||||
<step>5</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav/radials/selected-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav/radials/selected-deg</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>Alpha Order Group</name>
|
<name>Alpha Order Group</name>
|
||||||
<object-name>Face</object-name>
|
<object-name>Face</object-name>
|
||||||
|
|
|
@ -141,120 +141,36 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- VOR 2 Radial adjust -->
|
<!-- VOR 2 Radial adjust -->
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>click-L</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<name>small decrease</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>large decrease</name>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
|
||||||
<step>-5</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
<type>knob</type>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>click-R</object-name>
|
<object-name>click-R</object-name>
|
||||||
|
<object-name>click-L</object-name>
|
||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
|
|
||||||
|
<shift-repeat type="int">5</shift-repeat>
|
||||||
|
|
||||||
<action>
|
<action>
|
||||||
<name>small increase</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
||||||
<step>1</step>
|
<factor>1</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>360</max>
|
<max>360</max>
|
||||||
<wrap>1</wrap>
|
<wrap>1</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
|
||||||
<name>large increase</name>
|
<hovered>
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>nav2-obs</tooltip-id>
|
||||||
|
<label>Nav 2 Radial %3d</label>
|
||||||
|
<mapping>heading</mapping>
|
||||||
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
||||||
<step>5</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
|
|
@ -73,35 +73,51 @@
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<!-- simply hide these -->
|
||||||
<type>pick</type>
|
|
||||||
<visible>false</visible>
|
|
||||||
<object-name>AdjustCCW</object-name>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
|
||||||
<step type="double">-0.5</step>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
<object-name>AdjustCW</object-name>
|
<object-name>AdjustCW</object-name>
|
||||||
|
<object-name>AdjustCCW</object-name>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>knob</type>
|
||||||
|
<object-name>AdjustKnob</object-name>
|
||||||
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
<repeatable>true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
||||||
<step type="double">0.5</step>
|
<factor type="double">0.5</factor>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
<value>0.0</value>
|
||||||
|
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
|
||||||
|
<center>
|
||||||
|
<x-m>0.0</x-m>
|
||||||
|
<y-m>0.0</y-m>
|
||||||
|
<z-m>-0.0353</z-m>
|
||||||
|
</center>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>ai-horizon-offset</tooltip-id>
|
||||||
|
<label>Horizon Offset: %2d</label>
|
||||||
|
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
|
@ -116,6 +132,16 @@
|
||||||
<value type="bool">true</value>
|
<value type="bool">true</value>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>ai-caged</tooltip-id>
|
||||||
|
<label>Caged: %s</label>
|
||||||
|
<mapping>on-off</mapping>
|
||||||
|
<property>instrumentation/attitude-indicator/caged-flag</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
|
|
@ -40,6 +40,20 @@
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>pick</type>
|
||||||
|
<object-name>Face</object-name>
|
||||||
|
<object-name>Needle</object-name>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>airspeed</tooltip-id>
|
||||||
|
<label>Airspeed: %3dkts</label>
|
||||||
|
<property>instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
|
</animation>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -65,237 +65,72 @@
|
||||||
|
|
||||||
<!-- Heading Bug control -->
|
<!-- Heading Bug control -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>knob</type>
|
||||||
<object-name>click-bug-L</object-name>
|
<object-name>click-bug-L</object-name>
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<name>small decrease</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>autopilot/settings/heading-bug-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>large decrease</name>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>autopilot/settings/heading-bug-deg</property>
|
|
||||||
<step>-5</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>autopilot/settings/heading-bug-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>autopilot/settings/heading-bug-deg</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>click-bug-R</object-name>
|
<object-name>click-bug-R</object-name>
|
||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
|
|
||||||
<action>
|
<action>
|
||||||
<name>small increase</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>autopilot/settings/heading-bug-deg</property>
|
<property>autopilot/settings/heading-bug-deg</property>
|
||||||
<step>1</step>
|
<factor>1</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>360</max>
|
<max>360</max>
|
||||||
<wrap>1</wrap>
|
<wrap>1</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
|
||||||
<name>large increase</name>
|
<!-- faster rate of change than the default -->
|
||||||
<button>1</button>
|
<drag-scale-px>4</drag-scale-px>
|
||||||
<repeatable>true</repeatable>
|
<shift-repeat type="int">5</shift-repeat>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>heading-bug</tooltip-id>
|
||||||
|
<mapping>heading</mapping>
|
||||||
|
<label>Heading Bug: %3d</label>
|
||||||
<property>autopilot/settings/heading-bug-deg</property>
|
<property>autopilot/settings/heading-bug-deg</property>
|
||||||
<step>5</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>autopilot/settings/heading-bug-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>autopilot/settings/heading-bug-deg</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Heading Offset -->
|
<!-- Heading Offset -->
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>click-offset-L</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<name>small decrease</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>instrumentation/heading-indicator/offset-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>large decrease</name>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>instrumentation/heading-indicator/offset-deg</property>
|
|
||||||
<step>-5</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>instrumentation/heading-indicator/offset-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>instrumentation/heading-indicator/offset-deg</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>knob</type>
|
||||||
|
<object-name>click-offset-L</object-name>
|
||||||
<object-name>click-offset-R</object-name>
|
<object-name>click-offset-R</object-name>
|
||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
|
|
||||||
<action>
|
<action>
|
||||||
<name>small increase</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/heading-indicator/offset-deg</property>
|
<property>instrumentation/heading-indicator/offset-deg</property>
|
||||||
<step>1</step>
|
<factor>1</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>360</max>
|
<max>360</max>
|
||||||
<wrap>1</wrap>
|
<wrap>1</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
|
||||||
<name>large increase</name>
|
<!-- faster rate of change than the default -->
|
||||||
<button>1</button>
|
<drag-scale-px>4</drag-scale-px>
|
||||||
<repeatable>true</repeatable>
|
<shift-repeat type="int">5</shift-repeat>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>heading-offset</tooltip-id>
|
||||||
|
<label>Heading Offset: %3d</label>
|
||||||
|
<mapping>heading</mapping>
|
||||||
<property>instrumentation/heading-indicator/offset-deg</property>
|
<property>instrumentation/heading-indicator/offset-deg</property>
|
||||||
<step>5</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
<action>
|
</animation>
|
||||||
<name>small decrease (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>instrumentation/heading-indicator/offset-deg</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>instrumentation/heading-indicator/offset-deg</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
||||||
|
|
|
@ -652,6 +652,13 @@ properties' values.
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kap140-ap-btn</tooltip-id>
|
||||||
|
<label>Autopilot Arm/Disarm</label>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
|
@ -788,86 +795,39 @@ properties' values.
|
||||||
</mod-up>
|
</mod-up>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>knob-inner</object-name>
|
|
||||||
<action>
|
|
||||||
<name>Knob small down</name>
|
|
||||||
<button>3</button>
|
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>kap140.knobSmallDown();</script>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>Knob small up</name>
|
|
||||||
<button>4</button>
|
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>kap140.knobSmallUp();</script>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>knob-outer</object-name>
|
|
||||||
<action>
|
|
||||||
<name>Knob large down</name>
|
|
||||||
<button>3</button>
|
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>kap140.knobLargeDown();</script>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>Knob large up</name>
|
|
||||||
<button>4</button>
|
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>kap140.knobLargeUp();</script>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<object-name>knob-inner</object-name>
|
||||||
<object-name>knob-left</object-name>
|
<object-name>knob-outer</object-name>
|
||||||
<action>
|
<type>knob</type>
|
||||||
<name>Knob small down</name>
|
<increase>
|
||||||
<button>0</button>
|
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>kap140.knobSmallDown();</script>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>Knob large down</name>
|
|
||||||
<button>1</button>
|
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>kap140.knobLargeDown();</script>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>knob-right</object-name>
|
|
||||||
<action>
|
|
||||||
<name>Knob small up</name>
|
|
||||||
<button>0</button>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>kap140.knobSmallUp();</script>
|
<script>kap140.knobSmallUp();</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</increase>
|
||||||
<action>
|
<decrease>
|
||||||
<name>Knob large up</name>
|
<binding>
|
||||||
<button>1</button>
|
<command>nasal</command>
|
||||||
|
<script>kap140.knobSmallDown();</script>
|
||||||
|
</binding>
|
||||||
|
</decrease>
|
||||||
|
|
||||||
|
<shift-increase>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>kap140.knobLargeUp();</script>
|
<script>kap140.knobLargeUp();</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</shift-increase>
|
||||||
|
<shift-decrease>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>kap140.knobLargeDown();</script>
|
||||||
|
</binding>
|
||||||
|
</shift-decrease>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -113,8 +113,14 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<drag-scale-px>30</drag-scale-px>
|
||||||
<object-name>AUTO</object-name>
|
<object-name>AUTO</object-name>
|
||||||
|
|
||||||
|
<proxy-name>AUTOUp</proxy-name>
|
||||||
|
<proxy-name>AUTODown</proxy-name>
|
||||||
|
|
||||||
<property alias="../../params/auto"/>
|
<property alias="../../params/auto"/>
|
||||||
<factor>30</factor>
|
<factor>30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -124,47 +130,39 @@
|
||||||
<x-m>0.0131629</x-m>
|
<x-m>0.0131629</x-m>
|
||||||
<z-m>0.00714385</z-m>
|
<z-m>0.00714385</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>AUTOUp</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/auto"/>
|
<property alias="../../../../params/auto"/>
|
||||||
<step>-1</step>
|
<factor>-1</factor>
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>AUTODown</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-auto</tooltip-id>
|
||||||
|
<label>Auto: %s</label>
|
||||||
|
<mapping>nasal</mapping>
|
||||||
|
<script>(arg[0] == -1) ? "SPEAKER" : (arg[0]==1) ? "HEADSET" : "OFF"</script>
|
||||||
<property alias="../../../../params/auto"/>
|
<property alias="../../../../params/auto"/>
|
||||||
<step>1</step>
|
|
||||||
<min>-1</min>
|
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>COM1</object-name>
|
<object-name>COM1</object-name>
|
||||||
|
<proxy-name>COM1Up</proxy-name>
|
||||||
|
<proxy-name>COM1Down</proxy-name>
|
||||||
|
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<drag-scale-px>30</drag-scale-px>
|
||||||
<property alias="../../params/com1"/>
|
<property alias="../../params/com1"/>
|
||||||
<factor>30</factor>
|
<factor>30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -174,47 +172,38 @@
|
||||||
<x-m>0.0131629</x-m>
|
<x-m>0.0131629</x-m>
|
||||||
<z-m>0.00714385</z-m>
|
<z-m>0.00714385</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>COM1Up</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/com1"/>
|
<property alias="../../../../params/com1"/>
|
||||||
<step>-1</step>
|
<factor>-1</factor>
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>COM1Down</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-com1</tooltip-id>
|
||||||
<property alias="../../../../params/com1"/>
|
<property alias="../../../../params/com1"/>
|
||||||
<step>1</step>
|
<label>COM1: %s</label>
|
||||||
<min>-1</min>
|
<mapping>nasal</mapping>
|
||||||
<max>1</max>
|
<script>(arg[0] == -1) ? "SPEAKER" : (arg[0]==1) ? "HEADSET" : "OFF"</script>
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>COM2</object-name>
|
<object-name>COM2</object-name>
|
||||||
|
<proxy-name>COM2Up</proxy-name>
|
||||||
|
<proxy-name>COM2Down</proxy-name>
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<drag-scale-px>30</drag-scale-px>
|
||||||
<property alias="../../params/com2"/>
|
<property alias="../../params/com2"/>
|
||||||
<factor>30</factor>
|
<factor>30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -224,47 +213,38 @@
|
||||||
<x-m>0.0131629</x-m>
|
<x-m>0.0131629</x-m>
|
||||||
<z-m>0.00714385</z-m>
|
<z-m>0.00714385</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>COM2Up</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/com2"/>
|
<property alias="../../../../params/com2"/>
|
||||||
<step>-1</step>
|
<factor>-1</factor>
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>COM2Down</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-com2</tooltip-id>
|
||||||
|
<label>COM2: %s</label>
|
||||||
<property alias="../../../../params/com2"/>
|
<property alias="../../../../params/com2"/>
|
||||||
<step>1</step>
|
<mapping>nasal</mapping>
|
||||||
<min>-1</min>
|
<script>(arg[0] == -1) ? "SPEAKER" : (arg[0]==1) ? "HEADSET" : "OFF"</script>
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>NAV1</object-name>
|
<object-name>NAV1</object-name>
|
||||||
|
<proxy-name>NAV1Up</proxy-name>
|
||||||
|
<proxy-name>NAV1Down</proxy-name>
|
||||||
|
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<drag-scale-px>30</drag-scale-px>
|
||||||
<property alias="../../params/nav1"/>
|
<property alias="../../params/nav1"/>
|
||||||
<factor>30</factor>
|
<factor>30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -274,47 +254,39 @@
|
||||||
<x-m>0.0131629</x-m>
|
<x-m>0.0131629</x-m>
|
||||||
<z-m>0.00714385</z-m>
|
<z-m>0.00714385</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>NAV1Up</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/nav1"/>
|
<property alias="../../../../params/nav1"/>
|
||||||
<step>-1</step>
|
<factor>-1</factor>
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>NAV1Down</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-nav1</tooltip-id>
|
||||||
|
<label>NAV1: %s</label>
|
||||||
<property alias="../../../../params/nav1"/>
|
<property alias="../../../../params/nav1"/>
|
||||||
<step>1</step>
|
<mapping>nasal</mapping>
|
||||||
<min>-1</min>
|
<script>(arg[0] == -1) ? "SPEAKER" : (arg[0]==1) ? "HEADSET" : "OFF"</script>
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>NAV2</object-name>
|
<object-name>NAV2</object-name>
|
||||||
|
<proxy-name>NAV2Up</proxy-name>
|
||||||
|
<proxy-name>NAV2Down</proxy-name>
|
||||||
|
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<drag-scale-px>30</drag-scale-px>
|
||||||
<property alias="../../params/nav2"/>
|
<property alias="../../params/nav2"/>
|
||||||
<factor>30</factor>
|
<factor>30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -324,47 +296,38 @@
|
||||||
<x-m>0.0131629</x-m>
|
<x-m>0.0131629</x-m>
|
||||||
<z-m>0.00714385</z-m>
|
<z-m>0.00714385</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>NAV2Up</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/nav2"/>
|
<property alias="../../../../params/nav2"/>
|
||||||
<step>-1</step>
|
<factor>-1</factor>
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>NAV2Down</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-nav2</tooltip-id>
|
||||||
|
<label>NAV2: %s</label>
|
||||||
<property alias="../../../../params/nav2"/>
|
<property alias="../../../../params/nav2"/>
|
||||||
<step>1</step>
|
<mapping>nasal</mapping>
|
||||||
<min>-1</min>
|
<script>(arg[0] == -1) ? "SPEAKER" : (arg[0]==1) ? "HEADSET" : "OFF"</script>
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>ADF</object-name>
|
<object-name>ADF</object-name>
|
||||||
|
<proxy-name>ADFUp</proxy-name>
|
||||||
|
<proxy-name>ADFDown</proxy-name>
|
||||||
|
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<drag-scale-px>30</drag-scale-px>
|
||||||
<property alias="../../params/adf"/>
|
<property alias="../../params/adf"/>
|
||||||
<factor>30</factor>
|
<factor>30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -374,47 +337,38 @@
|
||||||
<x-m>0.0131629</x-m>
|
<x-m>0.0131629</x-m>
|
||||||
<z-m>0.00714385</z-m>
|
<z-m>0.00714385</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>ADFUp</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/adf"/>
|
<property alias="../../../../params/adf"/>
|
||||||
<step>-1</step>
|
<factor>-1</factor>
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>ADFDown</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-adf</tooltip-id>
|
||||||
|
<label>ADF: %s</label>
|
||||||
<property alias="../../../../params/adf"/>
|
<property alias="../../../../params/adf"/>
|
||||||
<step>1</step>
|
<mapping>nasal</mapping>
|
||||||
<min>-1</min>
|
<script>(arg[0] == -1) ? "SPEAKER" : (arg[0]==1) ? "HEADSET" : "OFF"</script>
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>DME</object-name>
|
<object-name>DME</object-name>
|
||||||
|
<proxy-name>DMEUp</proxy-name>
|
||||||
|
<proxy-name>DMEDown</proxy-name>
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<drag-scale-px>30</drag-scale-px>
|
||||||
|
|
||||||
<property alias="../../params/dme"/>
|
<property alias="../../params/dme"/>
|
||||||
<factor>30</factor>
|
<factor>30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -424,47 +378,38 @@
|
||||||
<x-m>0.0131629</x-m>
|
<x-m>0.0131629</x-m>
|
||||||
<z-m>0.00714385</z-m>
|
<z-m>0.00714385</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>DMEUp</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/dme"/>
|
<property alias="../../../../params/dme"/>
|
||||||
<step>-1</step>
|
<factor>-1</factor>
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>DMEDown</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-dme</tooltip-id>
|
||||||
|
<label>DME: %s</label>
|
||||||
<property alias="../../../../params/dme"/>
|
<property alias="../../../../params/dme"/>
|
||||||
<step>1</step>
|
<mapping>nasal</mapping>
|
||||||
<min>-1</min>
|
<script>(arg[0] == -1) ? "SPEAKER" : (arg[0]==1) ? "HEADSET" : "OFF"</script>
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>MKR</object-name>
|
<object-name>MKR</object-name>
|
||||||
|
<proxy-name>MKRUp</proxy-name>
|
||||||
|
<proxy-name>MKRDown</proxy-name>
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<drag-scale-px>30</drag-scale-px>
|
||||||
|
|
||||||
<property alias="../../params/mkr"/>
|
<property alias="../../params/mkr"/>
|
||||||
<factor>30</factor>
|
<factor>30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -474,42 +419,28 @@
|
||||||
<x-m>0.0131629</x-m>
|
<x-m>0.0131629</x-m>
|
||||||
<z-m>0.00714385</z-m>
|
<z-m>0.00714385</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>MKRUp</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/mkr"/>
|
<property alias="../../../../params/mkr"/>
|
||||||
<step>-1</step>
|
<factor>-1</factor>
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>MKRDown</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-mkr</tooltip-id>
|
||||||
|
<label>Marker Beacon: %s</label>
|
||||||
<property alias="../../../../params/mkr"/>
|
<property alias="../../../../params/mkr"/>
|
||||||
<step>1</step>
|
<mapping>nasal</mapping>
|
||||||
<min>-1</min>
|
<script>(arg[0] == -1) ? "SPEAKER" : (arg[0]==1) ? "HEADSET" : "OFF"</script>
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -598,8 +529,11 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>Knob</object-name>
|
<object-name>Knob</object-name>
|
||||||
|
<proxy-name>MICLeft</proxy-name>
|
||||||
|
<proxy-name>MICRight</proxy-name>
|
||||||
|
|
||||||
<property alias="../../params/knob"/>
|
<property alias="../../params/knob"/>
|
||||||
<factor>-30</factor>
|
<factor>-30</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -609,42 +543,29 @@
|
||||||
<y-m>-0.0605381</y-m>
|
<y-m>-0.0605381</y-m>
|
||||||
<z-m>0.00559147</z-m>
|
<z-m>0.00559147</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>MICLeft</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="../../../../params/knob"/>
|
<property alias="../../../../params/knob"/>
|
||||||
<step>-1</step>
|
|
||||||
<min>-1</min>
|
<min>-1</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>kma20-mic</tooltip-id>
|
||||||
|
<label>Microphone: %s</label>
|
||||||
|
<property alias="../../../../params/knob"/>
|
||||||
|
<mapping>nasal</mapping>
|
||||||
|
<script>(arg[0] == -1) ? "COM1" : (arg[0]==1) ? "External" : "COM2"</script>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>MICRight</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property alias="../../../../params/knob"/>
|
|
||||||
<step>1</step>
|
|
||||||
<min>-1</min>
|
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -115,8 +115,17 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>pick</type>
|
||||||
|
<object-name>HDGSelectorPick.L</object-name>
|
||||||
|
<object-name>HDGSelectorPick.R</object-name>
|
||||||
|
<visible>false</visible>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>knob</type>
|
||||||
<object-name>HDGSelector</object-name>
|
<object-name>HDGSelector</object-name>
|
||||||
|
|
||||||
<property alias="../../params/rotation-deg"/>
|
<property alias="../../params/rotation-deg"/>
|
||||||
<factor>8.0</factor>
|
<factor>8.0</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -129,96 +138,27 @@
|
||||||
<y-m>-0.0318072</y-m>
|
<y-m>-0.0318072</y-m>
|
||||||
<z-m>-0.0327009</z-m>
|
<z-m>-0.0327009</z-m>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/rotation-deg"/>
|
||||||
|
<factor>1</factor>
|
||||||
|
<min>0</min>
|
||||||
|
<max>360</max>
|
||||||
|
<wrap>1</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>adf-hdg</tooltip-id>
|
||||||
|
<label>ADF Heading: %3d</label>
|
||||||
|
<property alias="../../../../params/rotation-deg"/>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>HDGSelectorPick.L</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property alias="../../../../params/rotation-deg"/>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property alias="../../../../params/rotation-deg"/>
|
|
||||||
<step>-10</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>HDGSelectorPick.R</object-name>
|
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property alias="../../../../params/rotation-deg"/>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property alias="../../../../params/rotation-deg"/>
|
|
||||||
<step>10</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>HDGSelector</object-name>
|
|
||||||
<visible>true</visible>
|
|
||||||
<action>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property alias="../../../../params/rotation-deg"/>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property alias="../../../../params/rotation-deg"/>
|
|
||||||
<step>1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>360</max>
|
|
||||||
<wrap>1</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -443,8 +443,16 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>pick</type>
|
||||||
|
<object-name>VolumePickLeft</object-name>
|
||||||
|
<object-name>VolumePickRight</object-name>
|
||||||
|
<visible>false</visible>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>knob</type>
|
||||||
<object-name>Volume</object-name>
|
<object-name>Volume</object-name>
|
||||||
|
|
||||||
<property>/instrumentation/adf[0]/volume-norm</property>
|
<property>/instrumentation/adf[0]/volume-norm</property>
|
||||||
<factor>-270</factor>
|
<factor>-270</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -457,21 +465,17 @@
|
||||||
<y-m>0.03362955</y-m>
|
<y-m>0.03362955</y-m>
|
||||||
<z-m>-0.00472295</z-m>
|
<z-m>-0.00472295</z-m>
|
||||||
</center>
|
</center>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<visible>false</visible>
|
|
||||||
<object-name>VolumePickRight</object-name>
|
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/instrumentation/adf[0]/volume-norm</property>
|
<property>/instrumentation/adf[0]/volume-norm</property>
|
||||||
<step>0.1</step>
|
<factor>0.1</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>1.0</max>
|
<max>1.0</max>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
|
<!-- switch on if volume greater than 0.0 -->
|
||||||
<binding>
|
<binding>
|
||||||
<condition>
|
<condition>
|
||||||
<greater-than>
|
<greater-than>
|
||||||
|
@ -483,70 +487,8 @@
|
||||||
<property>/instrumentation/adf[0]/power-btn</property>
|
<property>/instrumentation/adf[0]/power-btn</property>
|
||||||
<value type="bool">1</value>
|
<value type="bool">1</value>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<!-- switch off if volume less than 0.1 -->
|
||||||
<type>pick</type>
|
|
||||||
<visible>false</visible>
|
|
||||||
<object-name>VolumePickLeft</object-name>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/volume-norm</property>
|
|
||||||
<step>-0.1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1.0</max>
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<condition>
|
|
||||||
<less-than>
|
|
||||||
<property>/instrumentation/adf[0]/volume-norm</property>
|
|
||||||
<value>0.1</value>
|
|
||||||
</less-than>
|
|
||||||
</condition>
|
|
||||||
<command>property-assign</command>
|
|
||||||
<property>/instrumentation/adf[0]/power-btn</property>
|
|
||||||
<value type="bool">0</value>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<visible>true</visible>
|
|
||||||
<object-name>Volume</object-name>
|
|
||||||
<action>
|
|
||||||
<button>4</button>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/volume-norm</property>
|
|
||||||
<step>0.1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1.0</max>
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<condition>
|
|
||||||
<greater-than>
|
|
||||||
<property>/instrumentation/adf[0]/volume-norm</property>
|
|
||||||
<value>0.0</value>
|
|
||||||
</greater-than>
|
|
||||||
</condition>
|
|
||||||
<command>property-assign</command>
|
|
||||||
<property>/instrumentation/adf[0]/power-btn</property>
|
|
||||||
<value type="bool">1</value>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<button>3</button>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/volume-norm</property>
|
|
||||||
<step>-0.1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1.0</max>
|
|
||||||
</binding>
|
|
||||||
<binding>
|
<binding>
|
||||||
<condition>
|
<condition>
|
||||||
<less-than>
|
<less-than>
|
||||||
|
@ -558,138 +500,43 @@
|
||||||
<property>/instrumentation/adf[0]/power-btn</property>
|
<property>/instrumentation/adf[0]/power-btn</property>
|
||||||
<value type="bool">0</value>
|
<value type="bool">0</value>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<!-- frequency knob -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>FreqPickLeft</object-name>
|
<object-name>FreqPickLeft</object-name>
|
||||||
<visible>false</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>200</min>
|
|
||||||
<max>1800</max>
|
|
||||||
<resolution>1</resolution>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
||||||
<step>-100</step>
|
|
||||||
<min>200</min>
|
|
||||||
<max>1800</max>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
<mask>integer</mask>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>FreqPickRight</object-name>
|
<object-name>FreqPickRight</object-name>
|
||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
||||||
<step>1</step>
|
|
||||||
<min>200</min>
|
|
||||||
<max>1800</max>
|
|
||||||
<resolution>1</resolution>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<button>1</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
||||||
<step>100</step>
|
|
||||||
<min>200</min>
|
|
||||||
<max>1800</max>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
<mask>integer</mask>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>knob</type>
|
||||||
<object-name>FRQOuter</object-name>
|
<object-name>FRQOuter</object-name>
|
||||||
<object-name>FRQInner</object-name>
|
<object-name>FRQInner</object-name>
|
||||||
<visible>true</visible>
|
|
||||||
<action>
|
<action>
|
||||||
<button>3</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<condition>
|
|
||||||
<property>devices/status/keyboard/shift</property>
|
|
||||||
</condition>
|
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
||||||
<step>-100</step>
|
<factor>1</factor>
|
||||||
<min>200</min>
|
|
||||||
<max>1800</max>
|
|
||||||
<resolution>1</resolution>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<condition>
|
|
||||||
<not>
|
|
||||||
<property>devices/status/keyboard/shift</property>
|
|
||||||
</not>
|
|
||||||
</condition>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
||||||
<step>-1</step>
|
|
||||||
<min>200</min>
|
<min>200</min>
|
||||||
<max>1800</max>
|
<max>1800</max>
|
||||||
<resolution>1</resolution>
|
<resolution>1</resolution>
|
||||||
<wrap>true</wrap>
|
<wrap>true</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<shift-action>
|
||||||
<button>4</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<condition>
|
|
||||||
<not>
|
|
||||||
<property>devices/status/keyboard/shift</property>
|
|
||||||
</not>
|
|
||||||
</condition>
|
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
||||||
<step>1</step>
|
<factor>100</factor>
|
||||||
<min>200</min>
|
<min>200</min>
|
||||||
<max>1800</max>
|
<max>1800</max>
|
||||||
|
<resolution>1</resolution>
|
||||||
<wrap>true</wrap>
|
<wrap>true</wrap>
|
||||||
<mask>integer</mask>
|
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
</shift-action>
|
||||||
<condition>
|
|
||||||
<property>devices/status/keyboard/shift</property>
|
|
||||||
</condition>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
||||||
<step>100</step>
|
|
||||||
<min>200</min>
|
|
||||||
<max>1800</max>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
<mask>integer</mask>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -6,75 +6,33 @@
|
||||||
|
|
||||||
<!-- Panel/radio light control -->
|
<!-- Panel/radio light control -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>knob</type>
|
||||||
<object-name>LightHotspotLeft</object-name>
|
|
||||||
<visible>true</visible>
|
|
||||||
<action>
|
|
||||||
<name>Decrease</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>controls/lighting/instruments-norm</property>
|
|
||||||
<step>-0.1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1.0</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>LightHotspotRight</object-name>
|
|
||||||
<visible>true</visible>
|
|
||||||
<action>
|
|
||||||
<name>Increase</name>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>controls/lighting/instruments-norm</property>
|
|
||||||
<step>0.1</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1.0</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>LightHotspotLeft</object-name>
|
|
||||||
<object-name>LightHotspotRight</object-name>
|
|
||||||
<object-name>LightKnob</object-name>
|
<object-name>LightKnob</object-name>
|
||||||
|
<proxy-name>LightHotspotLeft</proxy-name>
|
||||||
|
<proxy-name>LightHotspotRight</proxy-name>
|
||||||
|
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
<action>
|
<action>
|
||||||
<name>Decrease - scrollwheel</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
<repeatable>true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>controls/lighting/instruments-norm</property>
|
<property>controls/lighting/instruments-norm</property>
|
||||||
<step>-0.1</step>
|
<factor>0.1</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>1.0</max>
|
<max>1.0</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
|
||||||
<name>Increase - scrollwheel</name>
|
<hovered>
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>lighting-brightness</tooltip-id>
|
||||||
|
<label>Instrument Lighting: %3d%%</label>
|
||||||
<property>controls/lighting/instruments-norm</property>
|
<property>controls/lighting/instruments-norm</property>
|
||||||
<step>0.1</step>
|
<mapping>percent</mapping>
|
||||||
<min>0</min>
|
|
||||||
<max>1.0</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1274,6 +1274,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>doorhandleext_right</object-name>
|
<object-name>doorhandleext_right</object-name>
|
||||||
|
<object-name>doorhandleint_right</object-name>
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
<button>0</button>
|
||||||
|
@ -1283,11 +1284,20 @@
|
||||||
<script>c172p.rightDoor.toggle();</script>
|
<script>c172p.rightDoor.toggle();</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>door-handle-r</tooltip-id>
|
||||||
|
<label>Right Door Open/Close</label>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>doorhandleext_left</object-name>
|
<object-name>doorhandleext_left</object-name>
|
||||||
|
<object-name>doorhandle_intle</object-name>
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
<button>0</button>
|
||||||
|
@ -1297,6 +1307,14 @@
|
||||||
<script>c172p.leftDoor.toggle();</script>
|
<script>c172p.leftDoor.toggle();</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>door-handle-l</tooltip-id>
|
||||||
|
<label>Left Door Open/Close</label>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -1311,34 +1329,14 @@
|
||||||
<script>c172p.baggageDoor.toggle();</script>
|
<script>c172p.baggageDoor.toggle();</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<hovered>
|
||||||
<type>pick</type>
|
|
||||||
<object-name>doorhandleint_right</object-name>
|
|
||||||
<visible>true</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>set-tooltip</command>
|
||||||
<script>c172p.rightDoor.toggle();</script>
|
<tooltip-id>door-handle-baggage</tooltip-id>
|
||||||
|
<label>Baggage Door Open/Close</label>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>doorhandle_intle</object-name>
|
|
||||||
<visible>true</visible>
|
|
||||||
<action>
|
|
||||||
<button>0</button>
|
|
||||||
<repeatable>false</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>c172p.leftDoor.toggle();</script>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!--door animation-->
|
<!--door animation-->
|
||||||
|
@ -1500,6 +1498,15 @@
|
||||||
<property>controls/lighting/landing-lights</property>
|
<property>controls/lighting/landing-lights</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>landing-light-switch</tooltip-id>
|
||||||
|
<label>Landing Lights: %s</label>
|
||||||
|
<mapping>on-off</mapping>
|
||||||
|
<property>controls/lighting/landing-lights</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -1514,6 +1521,15 @@
|
||||||
<property>controls/lighting/taxi-light</property>
|
<property>controls/lighting/taxi-light</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>taxi-light-switch</tooltip-id>
|
||||||
|
<label>Taxi Light: %s</label>
|
||||||
|
<mapping>on-off</mapping>
|
||||||
|
<property>controls/lighting/taxi-light</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -1528,6 +1544,15 @@
|
||||||
<property>controls/lighting/strobe</property>
|
<property>controls/lighting/strobe</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>strobe-switch</tooltip-id>
|
||||||
|
<label>Strobe: %s</label>
|
||||||
|
<mapping>on-off</mapping>
|
||||||
|
<property>controls/lighting/strobe</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -1542,6 +1567,15 @@
|
||||||
<property>controls/lighting/beacon</property>
|
<property>controls/lighting/beacon</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>beacon-switch</tooltip-id>
|
||||||
|
<label>Beacon: %s</label>
|
||||||
|
<mapping>on-off</mapping>
|
||||||
|
<property>controls/lighting/beacon</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -1556,6 +1590,15 @@
|
||||||
<property>controls/lighting/nav-lights</property>
|
<property>controls/lighting/nav-lights</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>nav-light-switch</tooltip-id>
|
||||||
|
<label>Navigation Lights: %s</label>
|
||||||
|
<mapping>on-off</mapping>
|
||||||
|
<property>controls/lighting/nav-lights</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -1570,6 +1613,15 @@
|
||||||
<property>controls/anti-ice/pitot-heat</property>
|
<property>controls/anti-ice/pitot-heat</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<tooltip-id>pitot-heat</tooltip-id>
|
||||||
|
<label>Pitot Heat: %s</label>
|
||||||
|
<mapping>on-off</mapping>
|
||||||
|
<property>controls/anti-ice/pitot-heat</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Parking Brake -->
|
<!-- Parking Brake -->
|
||||||
|
@ -1614,6 +1666,15 @@
|
||||||
<property>/controls/gear/brake-parking</property>
|
<property>/controls/gear/brake-parking</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<label>Parking brake: %s</label>
|
||||||
|
<property>/controls/gear/brake-parking</property>
|
||||||
|
<tooltip-id>parking-brake</tooltip-id>
|
||||||
|
<mapping>on-off</mapping>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Carb Heat -->
|
<!-- Carb Heat -->
|
||||||
|
@ -1656,36 +1717,36 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>slider</type>
|
||||||
<object-name>Throttle</object-name>
|
<object-name>Throttle</object-name>
|
||||||
<object-name>ThrottleMount</object-name>
|
<object-name>ThrottleMount</object-name>
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
|
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
<!-- no translation, we handle that seperately -->
|
||||||
|
|
||||||
<action>
|
<action>
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>controls/engines/engine[0]/throttle</property>
|
<property>controls/engines/engine[0]/throttle</property>
|
||||||
<step>0.05</step>
|
<factor>0.05</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
<hovered>
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<label>Throttle: %3d%%</label>
|
||||||
|
<measure-text>Throttle: 100%</measure-text>
|
||||||
|
<tooltip-id>throttle</tooltip-id>
|
||||||
|
<mapping>percent</mapping>
|
||||||
<property>controls/engines/engine[0]/throttle</property>
|
<property>controls/engines/engine[0]/throttle</property>
|
||||||
<step>-0.05</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -1701,44 +1762,46 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>slider</type>
|
||||||
<object-name>Mixture</object-name>
|
<object-name>Mixture</object-name>
|
||||||
<object-name>MixtureMount</object-name>
|
<object-name>MixtureMount</object-name>
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
|
|
||||||
|
<!-- no translation, we handle that seperately -->
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
|
||||||
<action>
|
<action>
|
||||||
<name>small increase (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>controls/engines/engine[0]/mixture</property>
|
<property>controls/engines/engine[0]/mixture</property>
|
||||||
<step>0.05</step>
|
<factor>0.05</factor>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>1</max>
|
<max>1</max>
|
||||||
<wrap>0</wrap>
|
<wrap>0</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
|
||||||
<name>small decrease (scrollwheel)</name>
|
<hovered>
|
||||||
<button>4</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>set-tooltip</command>
|
||||||
|
<label>Mixture: %3d%%</label>
|
||||||
|
<measure-text>Mixture: 100%</measure-text>
|
||||||
|
<tooltip-id>mixture</tooltip-id>
|
||||||
|
<mapping>percent</mapping>
|
||||||
<property>controls/engines/engine[0]/mixture</property>
|
<property>controls/engines/engine[0]/mixture</property>
|
||||||
<step>-0.05</step>
|
|
||||||
<min>0</min>
|
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</hovered>
|
||||||
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Elevator Trim -->
|
<!-- Elevator Trim -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>knob</type>
|
||||||
<object-name>TrimWheel</object-name>
|
<object-name>TrimWheel</object-name>
|
||||||
<property>controls/flight/elevator-trim</property>
|
<property>controls/flight/elevator-trim</property>
|
||||||
<factor>-360</factor>
|
<factor>-360</factor>
|
||||||
|
<drag-direction>vertical</drag-direction>
|
||||||
|
|
||||||
<axis>
|
<axis>
|
||||||
<x>0.0</x>
|
<x>0.0</x>
|
||||||
<y>1.0</y>
|
<y>1.0</y>
|
||||||
|
@ -1749,38 +1812,28 @@
|
||||||
<y-m>-0.20</y-m>
|
<y-m>-0.20</y-m>
|
||||||
<z-m>-0.48</z-m>
|
<z-m>-0.48</z-m>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>controls/flight/elevator-trim</property>
|
||||||
|
<factor>0.01</factor>
|
||||||
|
<min>-1</min>
|
||||||
|
<max>1</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<hovered>
|
||||||
|
<binding>
|
||||||
|
<command>set-tooltip</command>
|
||||||
|
<label>Elevator trim: %3f</label>
|
||||||
|
<tooltip-id>pitch-trim</tooltip-id>
|
||||||
|
<property>controls/flight/elevator-trim</property>
|
||||||
|
</binding>
|
||||||
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
|
||||||
<type>pick</type>
|
|
||||||
<object-name>TrimWheel</object-name>
|
|
||||||
<visible>true</visible>
|
|
||||||
<action>
|
|
||||||
<name>Increase (scrollwheel)</name>
|
|
||||||
<button>3</button>
|
|
||||||
<repeatable>true</repeatable>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>controls/flight/elevator-trim</property>
|
|
||||||
<step>0.01</step>
|
|
||||||
<min>-1</min>
|
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
<action>
|
|
||||||
<name>Decrease (scrollwheel)</name>
|
|
||||||
<button>4</button>
|
|
||||||
<binding>
|
|
||||||
<command>property-adjust</command>
|
|
||||||
<property>controls/flight/elevator-trim</property>
|
|
||||||
<step>-0.01</step>
|
|
||||||
<min>-1</min>
|
|
||||||
<max>1</max>
|
|
||||||
<wrap>0</wrap>
|
|
||||||
</binding>
|
|
||||||
</action>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
|
|
|
@ -9,13 +9,15 @@ var Tooltip = {
|
||||||
_listener: nil,
|
_listener: nil,
|
||||||
_property: nil,
|
_property: nil,
|
||||||
_mapping: "",
|
_mapping: "",
|
||||||
|
_mappingFunc: nil,
|
||||||
_width: 0,
|
_width: 0,
|
||||||
_height: 0,
|
_height: 0,
|
||||||
_tipId: nil,
|
_tipId: nil,
|
||||||
_slice: 17,
|
_slice: 17,
|
||||||
_measureText: nil,
|
_measureText: nil,
|
||||||
_measureBB: nil,
|
_measureBB: nil,
|
||||||
_hideTimer: nil
|
_hideTimer: nil,
|
||||||
|
_hiding: nil
|
||||||
};
|
};
|
||||||
|
|
||||||
m.setInt("size[0]", size[0]);
|
m.setInt("size[0]", size[0]);
|
||||||
|
@ -151,26 +153,37 @@ var Tooltip = {
|
||||||
{
|
{
|
||||||
if (me._mapping == "") return val;
|
if (me._mapping == "") return val;
|
||||||
if (me._mapping == "percent") return int(val * 100);
|
if (me._mapping == "percent") return int(val * 100);
|
||||||
|
|
||||||
# TODO - translate me!
|
# TODO - translate me!
|
||||||
if (me._mapping == "on-off") return (val == 1) ? "ON" : "OFF";
|
if (me._mapping == "on-off") return (val == 1) ? "ON" : "OFF";
|
||||||
if (me._mapping == "arm-disarm") return (val == 1) ? "ARMED" : "DISARMED";
|
if (me._mapping == "arm-disarm") return (val == 1) ? "ARMED" : "DISARMED";
|
||||||
|
|
||||||
# provide both 'senses' of the flag here
|
# provide both 'senses' of the flag here
|
||||||
if (me._mapping == "up-down") return (val == 1) ? "UP" : "DOWN";
|
if (me._mapping == "up-down") return (val == 1) ? "UP" : "DOWN";
|
||||||
if (me._mapping == "down-up") return (val == 1) ? "DOWN" : "UP";
|
if (me._mapping == "down-up") return (val == 1) ? "DOWN" : "UP";
|
||||||
|
if (me._mapping == "open-close") return (val == 1) ? "OPEN" : "CLOSED";
|
||||||
|
if (me._mapping == "close-open") return (val == 1) ? "CLOSED" : "OPEN";
|
||||||
|
|
||||||
if (me._mapping == "heading") return geo.normdeg(val);
|
if (me._mapping == "heading") return geo.normdeg(val);
|
||||||
|
if (me._mapping == "nasal") return me._mappingFunc(val);
|
||||||
|
|
||||||
return val;
|
return val;
|
||||||
},
|
},
|
||||||
|
|
||||||
setMapping: func(mapping)
|
setMapping: func(mapping, f = nil)
|
||||||
{
|
{
|
||||||
me._mapping = mapping;
|
me._mapping = mapping;
|
||||||
|
me._mappingFunc = f;
|
||||||
me._updateText();
|
me._updateText();
|
||||||
},
|
},
|
||||||
|
|
||||||
setTooltipId: func(tipId)
|
setTooltipId: func(tipId)
|
||||||
{
|
{
|
||||||
me._tipId = tipId;
|
me._tipId = tipId;
|
||||||
|
if ((tipId != nil) and me._hiding) {
|
||||||
|
me._hideTimer.stop();
|
||||||
|
me._hiding = 0;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getTooltipId: func { me._tipId; },
|
getTooltipId: func { me._tipId; },
|
||||||
|
@ -191,7 +204,15 @@ var Tooltip = {
|
||||||
{
|
{
|
||||||
# don't show if undefined
|
# don't show if undefined
|
||||||
if (me._tipId == nil) return;
|
if (me._tipId == nil) return;
|
||||||
|
|
||||||
|
if (me._hiding) {
|
||||||
|
me._hideTimer.stop();
|
||||||
|
me._hiding = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!me.isVisible()) {
|
||||||
me.setBool("visible", 1);
|
me.setBool("visible", 1);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
showMessage: func()
|
showMessage: func()
|
||||||
|
@ -205,7 +226,11 @@ var Tooltip = {
|
||||||
|
|
||||||
hide: func()
|
hide: func()
|
||||||
{
|
{
|
||||||
me._hideTimer.restart(1.0);
|
# this gets run repeatedly during mouse-moves
|
||||||
|
if (me._hiding) return;
|
||||||
|
me._hiding = 1;
|
||||||
|
|
||||||
|
me._hideTimer.restart(0.5);
|
||||||
},
|
},
|
||||||
|
|
||||||
hideNow: func()
|
hideNow: func()
|
||||||
|
@ -233,6 +258,7 @@ var Tooltip = {
|
||||||
_hideTimeout: func()
|
_hideTimeout: func()
|
||||||
{
|
{
|
||||||
me.setBool("visible", 0);
|
me.setBool("visible", 0);
|
||||||
|
me._hiding = 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -249,17 +275,24 @@ var innerSetTooltip = func(node)
|
||||||
tooltip.setWidthText(nil);
|
tooltip.setWidthText(nil);
|
||||||
}
|
}
|
||||||
|
|
||||||
var nodePath = cmdarg().getNode('property');
|
var propPath = cmdarg().getNode('property');
|
||||||
if (nodePath != nil) {
|
if (propPath != nil) {
|
||||||
var n = props.globals.getNode(nodePath.getValue());
|
var n = props.globals.getNode(propPath.getValue());
|
||||||
tooltip.setProperty(n);
|
tooltip.setProperty(n);
|
||||||
|
|
||||||
# mapping modes allow some standard conversion of the property
|
|
||||||
# value to a human readable form.
|
|
||||||
var mapping = cmdarg().getNode('mapping');
|
|
||||||
tooltip.setMapping(mapping == nil ? "" : mapping.getValue());
|
|
||||||
} else {
|
} else {
|
||||||
tooltip.setProperty(nil);
|
tooltip.setProperty(nil);
|
||||||
|
}
|
||||||
|
|
||||||
|
var mapping = cmdarg().getNode('mapping');
|
||||||
|
if (mapping != nil) {
|
||||||
|
var m = mapping.getValue();
|
||||||
|
var f = nil;
|
||||||
|
if (m == 'nasal') {
|
||||||
|
f = compile(cmdarg().getNode('script').getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip.setMapping(m, f);
|
||||||
|
} else {
|
||||||
tooltip.setMapping(nil);
|
tooltip.setMapping(nil);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -277,7 +310,6 @@ var setTooltip = func(node)
|
||||||
var screenHeight = getprop('/sim/startup/ysize');
|
var screenHeight = getprop('/sim/startup/ysize');
|
||||||
tooltip.setPosition(x, screenHeight - y);
|
tooltip.setPosition(x, screenHeight - y);
|
||||||
tooltip.setTooltipId(tipId);
|
tooltip.setTooltipId(tipId);
|
||||||
|
|
||||||
innerSetTooltip(node);
|
innerSetTooltip(node);
|
||||||
|
|
||||||
# don't actually show here, we do that response to tooltip-timeout
|
# don't actually show here, we do that response to tooltip-timeout
|
||||||
|
|
Loading…
Reference in a new issue