make scratchpad work mostly, CLR button is unrealisic, +- doesnt work yet
This commit is contained in:
parent
28def5865d
commit
a2bea0cb75
4 changed files with 264 additions and 92 deletions
|
@ -18,7 +18,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(A);</script>
|
||||
<script>mcdu1.button("A");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(B);</script>
|
||||
<script>mcdu1.button("B");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -42,7 +42,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(C);</script>
|
||||
<script>mcdu1.button("C");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(D);</script>
|
||||
<script>mcdu1.button("D");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -66,7 +66,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(E);</script>
|
||||
<script>mcdu1.button("E");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -78,7 +78,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(F);</script>
|
||||
<script>mcdu1.button("F");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(G);</script>
|
||||
<script>mcdu1.button("G");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -102,7 +102,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(H);</script>
|
||||
<script>mcdu1.button("H");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -114,7 +114,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(I);</script>
|
||||
<script>mcdu1.button("I");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -126,7 +126,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(J);</script>
|
||||
<script>mcdu1.button("J");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -138,7 +138,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(K);</script>
|
||||
<script>mcdu1.button("K");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -150,7 +150,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(L);</script>
|
||||
<script>mcdu1.button("L");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -162,7 +162,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(M);</script>
|
||||
<script>mcdu1.button("M");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -174,7 +174,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(N);</script>
|
||||
<script>mcdu1.button("N");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -186,7 +186,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(O);</script>
|
||||
<script>mcdu1.button("O");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -198,7 +198,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(P);</script>
|
||||
<script>mcdu1.button("P");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -210,7 +210,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(Q);</script>
|
||||
<script>mcdu1.button("Q");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -222,7 +222,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(R);</script>
|
||||
<script>mcdu1.button("R");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -234,7 +234,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(S);</script>
|
||||
<script>mcdu1.button("S");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -246,7 +246,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(T);</script>
|
||||
<script>mcdu1.button("T");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -258,7 +258,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(U);</script>
|
||||
<script>mcdu1.button("U");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -270,7 +270,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(V);</script>
|
||||
<script>mcdu1.button("V");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -282,7 +282,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(W);</script>
|
||||
<script>mcdu1.button("W");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -294,7 +294,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(X);</script>
|
||||
<script>mcdu1.button("X");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -306,7 +306,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(Y);</script>
|
||||
<script>mcdu1.button("Y");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -318,7 +318,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(Z);</script>
|
||||
<script>mcdu1.button("Z");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -330,7 +330,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(SLASH);</script>
|
||||
<script>mcdu1.button("SLASH");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -342,11 +342,11 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(SP);</script>
|
||||
<script>mcdu1.button("SP");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<!--animation>
|
||||
<type>pick</type>
|
||||
<object-name>overfly</object-name>
|
||||
<action>
|
||||
|
@ -354,10 +354,10 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(OVFY);</script>
|
||||
<script>mcdu1.button("OVFY");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
</animation-->
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>clr</object-name>
|
||||
|
@ -366,7 +366,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(CLR);</script>
|
||||
<script>mcdu1.button("CLR");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -378,7 +378,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(0);</script>
|
||||
<script>mcdu1.button("0");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -390,7 +390,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(1);</script>
|
||||
<script>mcdu1.button("1");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -402,7 +402,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(2);</script>
|
||||
<script>mcdu1.button("2");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -414,7 +414,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(3);</script>
|
||||
<script>mcdu1.button("3");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -426,7 +426,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(4);</script>
|
||||
<script>mcdu1.button("4");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -438,7 +438,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(5);</script>
|
||||
<script>mcdu1.button("5");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -450,7 +450,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(6);</script>
|
||||
<script>mcdu1.button("6");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -462,7 +462,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(7);</script>
|
||||
<script>mcdu1.button("7");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -474,7 +474,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(8);</script>
|
||||
<script>mcdu1.button("8");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -486,7 +486,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(9);</script>
|
||||
<script>mcdu1.button("9");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -498,11 +498,11 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(DOT);</script>
|
||||
<script>mcdu1.button("DOT");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<!--animation>
|
||||
<type>pick</type>
|
||||
<object-name>+/-</object-name>
|
||||
<action>
|
||||
|
@ -510,9 +510,9 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU1.button(PLUSMINUS);</script>
|
||||
<script>mcdu1.button("PLUSMINUS");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
</animation-->
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(A);</script>
|
||||
<script>mcdu2.button("A");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(B);</script>
|
||||
<script>mcdu2.button("B");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -42,7 +42,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(C);</script>
|
||||
<script>mcdu2.button("C");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(D);</script>
|
||||
<script>mcdu2.button("D");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -66,7 +66,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(E);</script>
|
||||
<script>mcdu2.button("E");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -78,7 +78,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(F);</script>
|
||||
<script>mcdu2.button("F");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(G);</script>
|
||||
<script>mcdu2.button("G");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -102,7 +102,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(H);</script>
|
||||
<script>mcdu2.button("H");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -114,7 +114,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(I);</script>
|
||||
<script>mcdu2.button("I");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -126,7 +126,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(J);</script>
|
||||
<script>mcdu2.button("J");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -138,7 +138,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(K);</script>
|
||||
<script>mcdu2.button("K");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -150,7 +150,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(L);</script>
|
||||
<script>mcdu2.button("L");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -162,7 +162,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(M);</script>
|
||||
<script>mcdu2.button("M");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -174,7 +174,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(N);</script>
|
||||
<script>mcdu2.button("N");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -186,7 +186,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(O);</script>
|
||||
<script>mcdu2.button("O");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -198,7 +198,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(P);</script>
|
||||
<script>mcdu2.button("P");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -210,7 +210,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(Q);</script>
|
||||
<script>mcdu2.button("Q");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -222,7 +222,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(R);</script>
|
||||
<script>mcdu2.button("R");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -234,7 +234,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(S);</script>
|
||||
<script>mcdu2.button("S");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -246,7 +246,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(T);</script>
|
||||
<script>mcdu2.button("T");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -258,7 +258,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(U);</script>
|
||||
<script>mcdu2.button("U");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -270,7 +270,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(V);</script>
|
||||
<script>mcdu2.button("V");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -282,7 +282,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(W);</script>
|
||||
<script>mcdu2.button("W");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -294,7 +294,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(X);</script>
|
||||
<script>mcdu2.button("X");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -306,7 +306,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(Y);</script>
|
||||
<script>mcdu2.button("Y");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -318,7 +318,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(Z);</script>
|
||||
<script>mcdu2.button("Z");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -330,7 +330,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(SLASH);</script>
|
||||
<script>mcdu2.button("SLASH");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -342,11 +342,11 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(SP);</script>
|
||||
<script>mcdu2.button("SP");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<!--animation>
|
||||
<type>pick</type>
|
||||
<object-name>overfly</object-name>
|
||||
<action>
|
||||
|
@ -354,10 +354,10 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(OVFY);</script>
|
||||
<script>mcdu2.button("OVFY");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
</animation-->
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>clr</object-name>
|
||||
|
@ -366,7 +366,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(CLR);</script>
|
||||
<script>mcdu2.button("CLR");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -378,7 +378,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(0);</script>
|
||||
<script>mcdu2.button("0");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -390,7 +390,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(1);</script>
|
||||
<script>mcdu2.button("1");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -402,7 +402,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(2);</script>
|
||||
<script>mcdu2.button("2");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -414,7 +414,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(3);</script>
|
||||
<script>mcdu2.button("3");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -426,7 +426,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(4);</script>
|
||||
<script>mcdu2.button("4");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -438,7 +438,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(5);</script>
|
||||
<script>mcdu2.button("5");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -450,7 +450,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(6);</script>
|
||||
<script>mcdu2.button("6");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -462,7 +462,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(7);</script>
|
||||
<script>mcdu2.button("7");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -474,7 +474,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(8);</script>
|
||||
<script>mcdu2.button("8");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -486,7 +486,7 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(9);</script>
|
||||
<script>mcdu2.button("9");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -498,11 +498,11 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(DOT);</script>
|
||||
<script>mcdu2.button("DOT");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<!--animation>
|
||||
<type>pick</type>
|
||||
<object-name>+/-</object-name>
|
||||
<action>
|
||||
|
@ -510,9 +510,9 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>MCDU2.button(PLUSMINUS);</script>
|
||||
<script>mcdu2.button("PLUSMINUS");</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
</animation-->
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -9,4 +9,90 @@ var MCDU_init = func {
|
|||
|
||||
var MCDU_reset = func {
|
||||
setprop("/MCDU[0]/page", "INIT");
|
||||
setprop("/MCDU[0]/scratchpad", " ");
|
||||
}
|
||||
|
||||
var button = func(btn) {
|
||||
var scratchpad = getprop("/MCDU[0]/scratchpad");
|
||||
if (btn == "A") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "A");
|
||||
} else if (btn == "B") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "B");
|
||||
} else if (btn == "C") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "C");
|
||||
} else if (btn == "D") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "D");
|
||||
} else if (btn == "E") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "E");
|
||||
} else if (btn == "F") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "F");
|
||||
} else if (btn == "G") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "G");
|
||||
} else if (btn == "H") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "H");
|
||||
} else if (btn == "I") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "I");
|
||||
} else if (btn == "J") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "J");
|
||||
} else if (btn == "K") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "K");
|
||||
} else if (btn == "L") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "L");
|
||||
} else if (btn == "M") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "M");
|
||||
} else if (btn == "N") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "N");
|
||||
} else if (btn == "O") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "O");
|
||||
} else if (btn == "P") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "P");
|
||||
} else if (btn == "Q") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "Q");
|
||||
} else if (btn == "R") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "R");
|
||||
} else if (btn == "S") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "S");
|
||||
} else if (btn == "T") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "T");
|
||||
} else if (btn == "U") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "U");
|
||||
} else if (btn == "V") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "V");
|
||||
} else if (btn == "W") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "W");
|
||||
} else if (btn == "X") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "X");
|
||||
} else if (btn == "Y") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "Y");
|
||||
} else if (btn == "Z") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "Z");
|
||||
} else if (btn == "SLASH") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "/");
|
||||
} else if (btn == "SP") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ " ");
|
||||
} else if (btn == "CLR") {
|
||||
setprop("/MCDU[0]/scratchpad", " ");
|
||||
} else if (btn == "0") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "0");
|
||||
} else if (btn == "1") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "1");
|
||||
} else if (btn == "2") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "2");
|
||||
} else if (btn == "3") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "3");
|
||||
} else if (btn == "4") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "4");
|
||||
} else if (btn == "5") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "5");
|
||||
} else if (btn == "6") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "6");
|
||||
} else if (btn == "7") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "7");
|
||||
} else if (btn == "8") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "8");
|
||||
} else if (btn == "9") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ "9");
|
||||
} else if (btn == "DOT") {
|
||||
setprop("/MCDU[0]/scratchpad", scratchpad ~ ".");
|
||||
}
|
||||
}
|
|
@ -9,4 +9,90 @@ var MCDU_init = func {
|
|||
|
||||
var MCDU_reset = func {
|
||||
setprop("/MCDU[1]/page", "INIT");
|
||||
setprop("/MCDU[1]/scratchpad", " ");
|
||||
}
|
||||
|
||||
var button = func(btn) {
|
||||
var scratchpad = getprop("/MCDU[1]/scratchpad");
|
||||
if (btn == "A") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "A");
|
||||
} else if (btn == "B") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "B");
|
||||
} else if (btn == "C") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "C");
|
||||
} else if (btn == "D") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "D");
|
||||
} else if (btn == "E") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "E");
|
||||
} else if (btn == "F") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "F");
|
||||
} else if (btn == "G") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "G");
|
||||
} else if (btn == "H") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "H");
|
||||
} else if (btn == "I") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "I");
|
||||
} else if (btn == "J") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "J");
|
||||
} else if (btn == "K") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "K");
|
||||
} else if (btn == "L") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "L");
|
||||
} else if (btn == "M") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "M");
|
||||
} else if (btn == "N") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "N");
|
||||
} else if (btn == "O") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "O");
|
||||
} else if (btn == "P") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "P");
|
||||
} else if (btn == "Q") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "Q");
|
||||
} else if (btn == "R") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "R");
|
||||
} else if (btn == "S") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "S");
|
||||
} else if (btn == "T") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "T");
|
||||
} else if (btn == "U") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "U");
|
||||
} else if (btn == "V") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "V");
|
||||
} else if (btn == "W") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "W");
|
||||
} else if (btn == "X") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "X");
|
||||
} else if (btn == "Y") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "Y");
|
||||
} else if (btn == "Z") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "Z");
|
||||
} else if (btn == "SLASH") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "/");
|
||||
} else if (btn == "SP") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ " ");
|
||||
} else if (btn == "CLR") {
|
||||
setprop("/MCDU[1]/scratchpad", " ");
|
||||
} else if (btn == "0") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "0");
|
||||
} else if (btn == "1") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "1");
|
||||
} else if (btn == "2") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "2");
|
||||
} else if (btn == "3") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "3");
|
||||
} else if (btn == "4") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "4");
|
||||
} else if (btn == "5") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "5");
|
||||
} else if (btn == "6") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "6");
|
||||
} else if (btn == "7") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "7");
|
||||
} else if (btn == "8") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "8");
|
||||
} else if (btn == "9") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ "9");
|
||||
} else if (btn == "DOT") {
|
||||
setprop("/MCDU[1]/scratchpad", scratchpad ~ ".");
|
||||
}
|
||||
}
|
Reference in a new issue