2081 lines
49 KiB
XML
2081 lines
49 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- Copyright (c) 2022 Josh Davidson (Octal450) -->
|
|
|
|
<PropertyList>
|
|
|
|
<path>res/MCDU2.ac</path>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>mcdu2.screen</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>canvas_mcdu.showMCDU2();</script>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>KBMode.Toggle</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/FMGC/keyboard-left</property>
|
|
<value>0</value>
|
|
</binding>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>/FMGC/keyboard-right</property>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>mcdu2.screen</object-name>
|
|
<emission>
|
|
<red>1</red>
|
|
<green>1</green>
|
|
<blue>1</blue>
|
|
<factor-prop>controls/lighting/DU/mcdu2</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
<effect>
|
|
<inherits-from>Aircraft/A320-family/Models/Effects/displays/lcd</inherits-from>
|
|
<parameters>
|
|
<inner-angle>90</inner-angle> <!-- 0-90, use 90 for LED or plasma display-->
|
|
<outer-angle>90</outer-angle> <!-- 0-90, but greater than inner -->
|
|
<black-angle>90</black-angle> <!-- 0-90, but greater than outer -->
|
|
<dirt-factor>0.09</dirt-factor>
|
|
<contrast><use>instrumentation/mcdu/mcdu2-contrast</use></contrast>
|
|
</parameters>
|
|
<object-name>mcdu2.screen</object-name>
|
|
</effect>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>BRT</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<condition>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
</condition>
|
|
<command>property-adjust</command>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<min>0.0</min>
|
|
<max>1.0</max>
|
|
<step>0.05</step>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>DIM</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<condition>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
</condition>
|
|
<command>property-adjust</command>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<min>0.0</min>
|
|
<max>1.0</max>
|
|
<step>-0.05</step>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>radnav</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("radnav", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>init</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("init", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>data</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("data", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>atc_comm</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("atc", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>mcdu</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("mcdu", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>prog</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("prog", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>perf</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("perf", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>f-pln</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("f-pln", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>fuel-pred</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("fuel-pred", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>dir</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("dirto", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>L1</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton("1", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton_b("1", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>L2</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton("2", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton_b("2", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>L3</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton("3", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton_b("3", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>L4</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton("4", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton_b("4", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>L5</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton("5", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton_b("5", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>L6</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton("6", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.lskbutton_b("6", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>R1</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton("1", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton_b("1", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>R2</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton("2", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton_b("2", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>R3</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton("3", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton_b("3", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>R4</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton("4", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton_b("4", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>R5</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton("5", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton_b("5", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>R6</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton("6", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.rskbutton_b("6", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>airport</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.pagebutton("airport", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>left</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.arrowbutton("left", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>right</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.arrowbutton("right", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>up</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.arrowbutton("up", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>down</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.arrowbutton("down", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>a</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("A", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>b</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("B", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>c</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("C", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>d</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("D", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>e</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("E", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>f</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("F", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>g</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("G", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>h</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("H", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>i</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("I", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>j</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("J", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>k</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("K", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>l</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("L", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>m</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("M", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>n</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("N", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>o</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("O", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>p</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("P", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>q</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("Q", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>r</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("R", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>s</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("S", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>t</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("T", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>u</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("U", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>v</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("V", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>w</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("W", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>x</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("X", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>y</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("Y", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>z</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("Z", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>/</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("SLASH", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>sp</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("SP", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>overfly</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("OVFY", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>clr</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>/MCDU[1]/clrbtn-timeout</property>
|
|
<step>1</step>
|
|
<min>0</min>
|
|
<max>6</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("LONGCLR", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/MCDU[1]/clrbtn-timeout</property>
|
|
<value>5</value>
|
|
</equals>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
<mod-up>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("CLR", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<less-than>
|
|
<property>/MCDU[1]/clrbtn-timeout</property>
|
|
<value>5</value>
|
|
</less-than>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/MCDU[1]/clrbtn-timeout</property>
|
|
<value>0</value>
|
|
</binding>
|
|
</mod-up>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>0</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("0", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>1</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("1", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>2</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("2", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>3</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("3", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>4</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("4", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>5</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("5", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>6</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("6", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>7</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("7", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>8</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("8", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>9</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("9", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>.</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("DOT", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>+/-</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>mcdu.button("PLUSMINUS", 1);</script>
|
|
<condition>
|
|
<and>
|
|
<greater-than-equals>
|
|
<property>systems/electrical/bus/ac-2</property>
|
|
<value>110</value>
|
|
</greater-than-equals>
|
|
<greater-than>
|
|
<property>controls/lighting/DU/mcdu2</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<name>Panel lighting</name>
|
|
<type>material</type>
|
|
<object-name>mcdu_body</object-name>
|
|
<emission>
|
|
<red>0.3</red>
|
|
<green>0.3</green>
|
|
<blue>0.3</blue>
|
|
<factor-prop>sim/model/lights/dome-light</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
<effect>
|
|
<inherits-from>Aircraft/A320-family/Models/Effects/Model/cockpit-irradiance</inherits-from>
|
|
<object-name>mcdu_body</object-name>
|
|
</effect>
|
|
|
|
<effect>
|
|
<inherits-from>Effects/model-transparent</inherits-from>
|
|
<object-name>mcdu_glare</object-name>
|
|
</effect>
|
|
|
|
</PropertyList>
|