prepare for middle click MCDU
|
@ -317,6 +317,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.lskbutton_b("1");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -335,6 +349,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.lskbutton_b("2");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -353,6 +381,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.lskbutton_b("3");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -371,6 +413,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.lskbutton_b("4");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -389,6 +445,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.lskbutton_b("5");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -407,6 +477,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.lskbutton_b("6");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
|
@ -426,6 +510,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.rskbutton_b("1");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -444,6 +542,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.rskbutton_b("2");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -462,6 +574,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.rskbutton_b("3");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -480,6 +606,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.rskbutton_b("4");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -498,6 +638,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.rskbutton_b("5");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -516,6 +670,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu1.rskbutton_b("6");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac1</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
|
|
|
@ -317,6 +317,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.lskbutton_b("1");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -335,6 +349,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.lskbutton_b("2");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -353,6 +381,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.lskbutton_b("3");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -371,6 +413,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.lskbutton_b("4");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -389,6 +445,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.lskbutton_b("5");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -407,6 +477,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.lskbutton_b("6");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
|
@ -426,6 +510,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.rskbutton_b("1");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -444,6 +542,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.rskbutton_b("2");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -462,6 +574,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.rskbutton_b("3");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -480,6 +606,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.rskbutton_b("4");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -498,6 +638,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.rskbutton_b("5");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -516,6 +670,20 @@
|
|||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>mcdu2.rskbutton_b("6");</script>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/systems/electrical/bus/ac2</property>
|
||||
<value>25</value>
|
||||
</greater-than-equals>
|
||||
</condition>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
|
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
@ -86,6 +86,10 @@ var lskbutton = func(btn) {
|
|||
}
|
||||
}
|
||||
|
||||
var lskbutton_b = func(btn) {
|
||||
# Special Middle Click Functions
|
||||
}
|
||||
|
||||
var rskbutton = func(btn) {
|
||||
if (btn == "1") {
|
||||
if (getprop("/MCDU[0]/page") == "INITA") {
|
||||
|
@ -120,6 +124,10 @@ var rskbutton = func(btn) {
|
|||
}
|
||||
}
|
||||
|
||||
var rskbutton_b = func(btn) {
|
||||
# Special Middle Click Functions
|
||||
}
|
||||
|
||||
var initInputA = func(key) {
|
||||
var scratchpad = getprop("/MCDU[0]/scratchpad");
|
||||
if (key == "L3") {
|
||||
|
|
|
@ -86,6 +86,10 @@ var lskbutton = func(btn) {
|
|||
}
|
||||
}
|
||||
|
||||
var lskbutton_b = func(btn) {
|
||||
# Special Middle Click Functions
|
||||
}
|
||||
|
||||
var rskbutton = func(btn) {
|
||||
if (btn == "1") {
|
||||
if (getprop("/MCDU[1]/page") == "INITA") {
|
||||
|
@ -120,6 +124,10 @@ var rskbutton = func(btn) {
|
|||
}
|
||||
}
|
||||
|
||||
var rskbutton_b = func(btn) {
|
||||
# Special Middle Click Functions
|
||||
}
|
||||
|
||||
var initInputA = func(key) {
|
||||
var scratchpad = getprop("/MCDU[1]/scratchpad");
|
||||
if (key == "L3") {
|
||||
|
|