2016-08-12 18:57:03 +00:00
|
|
|
<?xml version="1.0"?>
|
2015-07-24 17:37:16 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<PropertyList>
|
2015-07-24 17:37:16 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<params>
|
|
|
|
<right-display>/instrumentation/adf[0]/right-display</right-display>
|
|
|
|
<dimming>instrumentation/adf[0]/dimming-norm</dimming>
|
2015-07-24 17:37:16 +00:00
|
|
|
<dial-1-khz>instrumentation/adf[0]/frequencies/dial-1-khz</dial-1-khz>
|
|
|
|
<dial-100-khz>instrumentation/adf[0]/frequencies/dial-100-khz</dial-100-khz>
|
2015-06-16 21:20:54 +00:00
|
|
|
</params>
|
2016-08-12 18:57:03 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<path>kr87.ac</path>
|
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<effect>
|
2021-09-14 18:34:27 +00:00
|
|
|
<inherits-from>../../../../Effects/interior/lm-kr87</inherits-from>
|
2015-06-16 21:20:54 +00:00
|
|
|
<object-name>Volume</object-name>
|
|
|
|
<object-name>FRQOuter</object-name>
|
|
|
|
<object-name>FRQInner</object-name>
|
2018-05-17 11:58:44 +00:00
|
|
|
<object-name>Chassis</object-name>
|
2015-06-16 21:20:54 +00:00
|
|
|
<object-name>knobs.ADF</object-name>
|
|
|
|
<object-name>knobs.BFO</object-name>
|
|
|
|
<object-name>knobs.FRQ</object-name>
|
|
|
|
<object-name>knobs.FLT</object-name>
|
|
|
|
<object-name>knobs.SET</object-name>
|
2018-09-02 19:58:05 +00:00
|
|
|
</effect>
|
|
|
|
<effect>
|
2021-09-14 18:34:27 +00:00
|
|
|
<inherits-from>../../../../Effects/interior/c172p-interior</inherits-from>
|
2015-06-16 21:20:54 +00:00
|
|
|
<object-name>indicator.ANT</object-name>
|
|
|
|
<object-name>indicator.ADF</object-name>
|
|
|
|
<object-name>indicator.BFO</object-name>
|
|
|
|
<object-name>indicator.FRQ</object-name>
|
|
|
|
<object-name>indicator.FLT</object-name>
|
|
|
|
<object-name>indicator.ET</object-name>
|
|
|
|
<object-name>indicator.Use.1000</object-name>
|
|
|
|
<object-name>indicator.Use.100</object-name>
|
2016-08-12 18:57:03 +00:00
|
|
|
<object-name>indicator.Use.10</object-name>
|
2015-06-16 21:20:54 +00:00
|
|
|
<object-name>indicator.Use.1</object-name>
|
|
|
|
<object-name>indicator.dots</object-name>
|
|
|
|
<object-name>indicator.Stby.1000</object-name>
|
|
|
|
<object-name>indicator.Stby.100</object-name>
|
|
|
|
<object-name>indicator.Stby.10</object-name>
|
|
|
|
<object-name>indicator.Stby.1</object-name>
|
2016-08-12 18:57:03 +00:00
|
|
|
</effect>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
2018-09-16 17:13:13 +00:00
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>Volume</object-name>
|
|
|
|
<object-name>FRQOuter</object-name>
|
|
|
|
<object-name>FRQInner</object-name>
|
|
|
|
<object-name>Chassis</object-name>
|
|
|
|
<object-name>knobs.ADF</object-name>
|
|
|
|
<object-name>knobs.BFO</object-name>
|
|
|
|
<object-name>knobs.FRQ</object-name>
|
|
|
|
<object-name>knobs.FLT</object-name>
|
|
|
|
<object-name>knobs.SET</object-name>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
</condition>
|
|
|
|
<emission>
|
|
|
|
<red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
|
|
|
|
<green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
|
|
|
|
<blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator</object-name>
|
|
|
|
<condition>
|
|
|
|
<property>/instrumentation/adf[0]/operable</property>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
2016-05-18 21:11:05 +00:00
|
|
|
|
2018-09-02 19:58:05 +00:00
|
|
|
<animation>
|
2016-05-18 21:11:05 +00:00
|
|
|
<type>material</type>
|
|
|
|
<object-name>indicator</object-name>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<not>
|
|
|
|
<property>sim/rendering/rembrandt/enabled</property>
|
|
|
|
</not>
|
|
|
|
<greater-than>
|
|
|
|
<property>/sim/model/c172p/lighting/adf</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<emission>
|
|
|
|
<red>1.0</red>
|
|
|
|
<green>1.0</green>
|
|
|
|
<blue>1.0</blue>
|
|
|
|
<factor-prop>/sim/model/c172p/lighting/adf</factor-prop>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<property>/sim/model/c172p/lighting/adf</property>
|
|
|
|
</animation>
|
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<animation>
|
|
|
|
<type>noshadow</type>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>knobs.ADF</object-name>
|
|
|
|
<object-name>knobs.BFO</object-name>
|
|
|
|
<object-name>knobs.FRQ</object-name>
|
|
|
|
<object-name>knobs.FLT</object-name>
|
|
|
|
<object-name>knobs.SET</object-name>
|
|
|
|
<emission>
|
2016-08-12 18:57:03 +00:00
|
|
|
<red>0.5</red>
|
|
|
|
<green>0.1</green>
|
|
|
|
<blue>0.00005</blue>
|
|
|
|
<factor-prop>/sim/model/c172p/lighting/adf</factor-prop>
|
2015-06-16 21:20:54 +00:00
|
|
|
</emission>
|
|
|
|
</animation>
|
2016-08-12 18:57:03 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>indicator</object-name>
|
|
|
|
<emission>
|
|
|
|
<red>-1.0</red>
|
|
|
|
<green>-1.0</green>
|
|
|
|
<blue>-1.0</blue>
|
|
|
|
<factor-prop alias="../../../params/dimming"/>
|
|
|
|
<offset>1</offset>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.ANT</object-name>
|
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/instrumentation/adf[0]/adf-btn</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.ADF</object-name>
|
|
|
|
<condition>
|
|
|
|
<property>/instrumentation/adf[0]/adf-btn</property>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.BFO</object-name>
|
|
|
|
<condition>
|
|
|
|
<property>/instrumentation/adf[0]/bfo-btn</property>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.FRQ</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/instrumentation/adf[0]/display-mode</property>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.FLT</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/instrumentation/adf[0]/display-mode</property>
|
|
|
|
<value type="int">1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.ET</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/instrumentation/adf[0]/display-mode</property>
|
|
|
|
<value type="int">2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<!-- Use FREQ -->
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.Use.1000</object-name>
|
|
|
|
<condition>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
|
|
|
<value type="int">1000</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>indicator.Use.1000</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
|
|
|
<step>1000</step>
|
|
|
|
<factor>0.0001</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>indicator.Use.100</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
|
|
|
<step>100</step>
|
|
|
|
<factor>0.001</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>indicator.Use.10</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
|
|
|
<step>10</step>
|
|
|
|
<factor>0.01</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>indicator.Use.1</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
|
|
|
<step>1</step>
|
|
|
|
<factor>0.1</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<!-- STBY FREQ -->
|
|
|
|
<animation>
|
|
|
|
<condition>
|
|
|
|
<not-equals>
|
|
|
|
<property>/instrumentation/adf[0]/display-mode</property>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.dots</object-name>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>indicator.Stby.1000</object-name>
|
|
|
|
<condition>
|
|
|
|
<greater-than-equals>
|
2017-02-17 09:04:00 +00:00
|
|
|
<property alias="../../../../params/right-display"/>
|
2016-08-12 18:57:03 +00:00
|
|
|
<value type="int">1000</value>
|
2015-06-16 21:20:54 +00:00
|
|
|
</greater-than-equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
2016-08-12 18:57:03 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>indicator.Stby.1000</object-name>
|
2017-02-17 09:04:00 +00:00
|
|
|
<property alias="../../params/right-display"/>
|
2015-06-16 21:20:54 +00:00
|
|
|
<step>1000</step>
|
|
|
|
<factor>0.0001</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>indicator.Stby.100</object-name>
|
2017-02-17 09:04:00 +00:00
|
|
|
<property alias="../../params/right-display"/>
|
2015-06-16 21:20:54 +00:00
|
|
|
<step>100</step>
|
|
|
|
<factor>0.001</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>indicator.Stby.10</object-name>
|
2017-02-17 09:04:00 +00:00
|
|
|
<property alias="../../params/right-display"/>
|
2015-06-16 21:20:54 +00:00
|
|
|
<step>10</step>
|
|
|
|
<factor>0.01</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>indicator.Stby.1</object-name>
|
2017-02-17 09:04:00 +00:00
|
|
|
<property alias="../../params/right-display"/>
|
2015-06-16 21:20:54 +00:00
|
|
|
<step>1</step>
|
|
|
|
<factor>0.1</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<!-- Knobs and buttons -->
|
2015-06-16 21:20:54 +00:00
|
|
|
<animation>
|
|
|
|
<type>translate</type>
|
|
|
|
<object-name>knobs.ADF</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/adf-btn</property>
|
|
|
|
<factor>-0.004</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<visible>true</visible>
|
|
|
|
<object-name>knobs.ADF</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/instrumentation/adf[0]/adf-btn</property>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf")</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
2018-05-17 11:58:44 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>adf-adf-mode</tooltip-id>
|
|
|
|
<label>ADF Mode: %s</label>
|
|
|
|
<property>/instrumentation/adf[0]/adf-btn</property>
|
|
|
|
<mapping>nasal</mapping>
|
|
|
|
<script>return arg[0] ? "ADF" : "ANT";</script>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2015-06-16 21:20:54 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>translate</type>
|
|
|
|
<object-name>knobs.BFO</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/bfo-btn</property>
|
|
|
|
<factor>-0.004</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<visible>true</visible>
|
|
|
|
<object-name>knobs.BFO</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/instrumentation/adf[0]/bfo-btn</property>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf")</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
2018-05-17 11:58:44 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>adf-adf-mode</tooltip-id>
|
|
|
|
<label>ADF BFO: %s</label>
|
|
|
|
<property>/instrumentation/adf[0]/bfo-btn</property>
|
|
|
|
<mapping>nasal</mapping>
|
|
|
|
<script>return arg[0] ? "Enabled" : "Disabled";</script>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2015-06-16 21:20:54 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>translate</type>
|
|
|
|
<object-name>knobs.FRQ</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/frq-btn</property>
|
|
|
|
<factor>-0.004</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<visible>true</visible>
|
|
|
|
<object-name>knobs.FRQ</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/instrumentation/adf[0]/bfo-frq</property>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/instrumentation/adf[0]/frq-btn</property>
|
|
|
|
<value type="int">1</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/instrumentation/adf[0]/display-mode</property>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<command>property-swap</command>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/instrumentation/adf[0]/display-mode</property>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf")</script>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/instrumentation/adf[0]/frq-btn</property>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf")</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</action>
|
2018-05-17 11:58:44 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>adf-swap</tooltip-id>
|
|
|
|
<label>Swap ADF frequencies</label>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2015-06-16 21:20:54 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>translate</type>
|
|
|
|
<object-name>knobs.FLT</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/flt-btn</property>
|
|
|
|
<factor>-0.004</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<visible>true</visible>
|
|
|
|
<object-name>knobs.FLT</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/instrumentation/adf[0]/flt-btn</property>
|
|
|
|
<value type="int">1</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/adf[0]/display-mode</property>
|
|
|
|
<step>1</step>
|
|
|
|
<min>1</min>
|
|
|
|
<max>3</max>
|
|
|
|
<wrap>true</wrap>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf")</script>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/instrumentation/adf[0]/flt-btn</property>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf")</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</action>
|
2018-05-17 11:58:44 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>adf-flt-et</tooltip-id>
|
|
|
|
<label>Flight / Elapsed Timer</label>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2015-06-16 21:20:54 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>translate</type>
|
|
|
|
<object-name>knobs.SET</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/set-btn</property>
|
|
|
|
<factor>-0.004</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<visible>true</visible>
|
|
|
|
<object-name>knobs.SET</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/instrumentation/adf[0]/set-btn</property>
|
|
|
|
<value type="int">1</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf")</script>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/instrumentation/adf[0]/set-btn</property>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf")</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</action>
|
2018-05-17 11:58:44 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>adf-set</tooltip-id>
|
|
|
|
<label>Reset Elapsed Timer</label>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2015-06-16 21:20:54 +00:00
|
|
|
</animation>
|
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<!-- Volume knob -->
|
2015-06-16 21:20:54 +00:00
|
|
|
<animation>
|
|
|
|
<type>knob</type>
|
|
|
|
<object-name>Volume</object-name>
|
|
|
|
<property>/instrumentation/adf[0]/volume-norm</property>
|
2019-05-15 18:14:04 +00:00
|
|
|
<factor>-140</factor>
|
2015-06-16 21:20:54 +00:00
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
<center>
|
2018-05-17 11:58:44 +00:00
|
|
|
<x-m>-0.35034</x-m>
|
|
|
|
<y-m> 0.14736</y-m>
|
|
|
|
<z-m>-0.01904</z-m>
|
2015-06-16 21:20:54 +00:00
|
|
|
</center>
|
|
|
|
<action>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/adf[0]/volume-norm</property>
|
|
|
|
<factor>0.1</factor>
|
|
|
|
<min>0</min>
|
|
|
|
<max>1.0</max>
|
|
|
|
</binding>
|
2016-08-12 18:57:03 +00:00
|
|
|
<!-- Switch on if volume greater than 0.0 -->
|
2015-06-16 21:20:54 +00:00
|
|
|
<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>
|
2016-08-12 18:57:03 +00:00
|
|
|
<!-- Switch off if volume less than 0.1 -->
|
2015-06-16 21:20:54 +00:00
|
|
|
<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>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf-dial")</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
2018-05-17 11:58:44 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>adf-volume</tooltip-id>
|
|
|
|
<label>Volume: %d%%</label>
|
|
|
|
<property>/instrumentation/adf[0]/volume-norm</property>
|
|
|
|
<mapping>percent</mapping>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2015-06-16 21:20:54 +00:00
|
|
|
</animation>
|
2015-07-24 17:37:16 +00:00
|
|
|
|
2018-05-17 11:58:44 +00:00
|
|
|
<!-- Inner frequency (1 kHz) knob -->
|
2015-06-16 21:20:54 +00:00
|
|
|
<animation>
|
|
|
|
<type>knob</type>
|
|
|
|
<object-name>FRQInner</object-name>
|
2015-07-24 17:37:16 +00:00
|
|
|
<property alias="/params/dial-1-khz"/>
|
|
|
|
<factor>-2.5</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
<center>
|
2018-05-17 11:58:44 +00:00
|
|
|
<x-m>-0.33714</x-m>
|
|
|
|
<y-m> 0.17663</y-m>
|
|
|
|
<z-m>-0.01618</z-m>
|
2015-07-24 17:37:16 +00:00
|
|
|
</center>
|
2015-06-16 21:20:54 +00:00
|
|
|
<action>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
|
|
<factor>1</factor>
|
|
|
|
<min>200</min>
|
|
|
|
<max>1800</max>
|
|
|
|
<resolution>1</resolution>
|
|
|
|
<wrap>true</wrap>
|
|
|
|
</binding>
|
2015-07-24 17:37:16 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property alias="/params/dial-1-khz"/>
|
|
|
|
<factor>4</factor>
|
|
|
|
<min>0</min>
|
|
|
|
<max>360</max>
|
|
|
|
<wrap>true</wrap>
|
|
|
|
</binding>
|
2015-06-16 21:20:54 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf-dial")</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
2018-05-17 11:58:44 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>adf-kHz</tooltip-id>
|
|
|
|
<label>Adjust ADF frequency by 1 kHz</label>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2015-07-24 17:37:16 +00:00
|
|
|
</animation>
|
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<!-- Outer frequency (100 KHz) knob -->
|
2015-07-24 17:37:16 +00:00
|
|
|
<animation>
|
|
|
|
<type>knob</type>
|
|
|
|
<object-name>FRQOuter</object-name>
|
|
|
|
<property alias="/params/dial-100-khz"/>
|
|
|
|
<factor>-2.5</factor>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
<center>
|
2018-05-17 11:58:44 +00:00
|
|
|
<x-m>-0.33714</x-m>
|
|
|
|
<y-m> 0.17663</y-m>
|
|
|
|
<z-m>-0.01618</z-m>
|
2015-07-24 17:37:16 +00:00
|
|
|
</center>
|
|
|
|
<action>
|
2015-06-16 21:20:54 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
|
|
|
<factor>100</factor>
|
|
|
|
<min>200</min>
|
|
|
|
<max>1800</max>
|
|
|
|
<resolution>1</resolution>
|
|
|
|
<wrap>true</wrap>
|
|
|
|
</binding>
|
2015-07-24 17:37:16 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property alias="/params/dial-100-khz"/>
|
|
|
|
<factor>4</factor>
|
|
|
|
<min>0</min>
|
|
|
|
<max>360</max>
|
|
|
|
<wrap>true</wrap>
|
|
|
|
</binding>
|
2015-06-16 21:20:54 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.click("kr87-adf-dial")</script>
|
|
|
|
</binding>
|
2015-07-24 17:37:16 +00:00
|
|
|
</action>
|
2018-05-17 11:58:44 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>adf-100kHz</tooltip-id>
|
|
|
|
<label>Adjust ADF frequency by 100 kHz</label>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2015-06-16 21:20:54 +00:00
|
|
|
</animation>
|
2015-07-24 17:37:16 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
</PropertyList>
|