VC: Fix some buttons causing MCDU problems

This commit is contained in:
Joshua Davidson 2019-02-17 16:13:24 -07:00
parent 1ee429160d
commit 4896535cf3
3 changed files with 75 additions and 75 deletions

View file

@ -35,7 +35,7 @@
<object-name>BRT</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
@ -58,7 +58,7 @@
<object-name>DIM</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
@ -81,7 +81,7 @@
<object-name>radnav</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("radnav", 0);</script>
@ -106,7 +106,7 @@
<object-name>init</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("init", 0);</script>
@ -131,7 +131,7 @@
<object-name>data</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("data", 0);</script>
@ -156,7 +156,7 @@
<object-name>mcdu</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("mcdu", 0);</script>
@ -181,7 +181,7 @@
<object-name>perf</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("perf", 0);</script>
@ -206,7 +206,7 @@
<object-name>f-pln</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("f-pln", 0);</script>
@ -231,7 +231,7 @@
<object-name>fuel-pred</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("fuel-pred", 0);</script>
@ -256,7 +256,7 @@
<object-name>L1</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("1", 0);</script>
@ -276,7 +276,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("1", 0);</script>
@ -300,7 +300,7 @@
<object-name>L2</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("2", 0);</script>
@ -320,7 +320,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("2", 0);</script>
@ -344,7 +344,7 @@
<object-name>L3</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("3", 0);</script>
@ -364,7 +364,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("3", 0);</script>
@ -388,7 +388,7 @@
<object-name>L4</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("4", 0);</script>
@ -408,7 +408,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("4", 0);</script>
@ -432,7 +432,7 @@
<object-name>L5</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("5", 0);</script>
@ -452,7 +452,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("5", 0);</script>
@ -476,7 +476,7 @@
<object-name>L6</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("6", 0);</script>
@ -496,7 +496,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("6", 0);</script>
@ -521,7 +521,7 @@
<object-name>R1</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("1", 0);</script>
@ -541,7 +541,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("1", 0);</script>
@ -565,7 +565,7 @@
<object-name>R2</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("2", 0);</script>
@ -585,7 +585,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("2", 0);</script>
@ -609,7 +609,7 @@
<object-name>R3</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("3", 0);</script>
@ -629,7 +629,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("3", 0);</script>
@ -653,7 +653,7 @@
<object-name>R4</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("4", 0);</script>
@ -673,7 +673,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("4", 0);</script>
@ -697,7 +697,7 @@
<object-name>R5</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("5", 0);</script>
@ -717,7 +717,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("5", 0);</script>
@ -741,7 +741,7 @@
<object-name>R6</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("6", 0);</script>
@ -761,7 +761,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("6", 0);</script>
@ -786,7 +786,7 @@
<object-name>left</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.arrowbutton("left", 0);</script>
@ -810,7 +810,7 @@
<object-name>right</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.arrowbutton("right", 0);</script>
@ -834,7 +834,7 @@
<object-name>up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.arrowbutton("up", 0);</script>
@ -858,7 +858,7 @@
<object-name>down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.arrowbutton("down", 0);</script>

View file

@ -35,7 +35,7 @@
<object-name>BRT</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
@ -58,7 +58,7 @@
<object-name>DIM</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
@ -81,7 +81,7 @@
<object-name>radnav</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("radnav", 1);</script>
@ -106,7 +106,7 @@
<object-name>init</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("init", 1);</script>
@ -131,7 +131,7 @@
<object-name>data</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("data", 1);</script>
@ -156,7 +156,7 @@
<object-name>mcdu</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("mcdu", 1);</script>
@ -181,7 +181,7 @@
<object-name>perf</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("perf", 1);</script>
@ -206,7 +206,7 @@
<object-name>f-pln</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("f-pln", 1);</script>
@ -231,7 +231,7 @@
<object-name>fuel-pred</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.pagebutton("fuel-pred", 1);</script>
@ -256,7 +256,7 @@
<object-name>L1</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("1", 1);</script>
@ -276,7 +276,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("1", 1);</script>
@ -300,7 +300,7 @@
<object-name>L2</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("2", 1);</script>
@ -320,7 +320,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("2", 1);</script>
@ -344,7 +344,7 @@
<object-name>L3</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("3", 1);</script>
@ -364,7 +364,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("3", 1);</script>
@ -388,7 +388,7 @@
<object-name>L4</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("4", 1);</script>
@ -408,7 +408,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("4", 1);</script>
@ -432,7 +432,7 @@
<object-name>L5</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("5", 1);</script>
@ -452,7 +452,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("5", 1);</script>
@ -476,7 +476,7 @@
<object-name>L6</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton("6", 1);</script>
@ -496,7 +496,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.lskbutton_b("6", 1);</script>
@ -521,7 +521,7 @@
<object-name>R1</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("1", 1);</script>
@ -541,7 +541,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("1", 1);</script>
@ -565,7 +565,7 @@
<object-name>R2</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("2", 1);</script>
@ -585,7 +585,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("2", 1);</script>
@ -609,7 +609,7 @@
<object-name>R3</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("3", 1);</script>
@ -629,7 +629,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("3", 1);</script>
@ -653,7 +653,7 @@
<object-name>R4</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("4", 1);</script>
@ -673,7 +673,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("4", 1);</script>
@ -697,7 +697,7 @@
<object-name>R5</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("5", 1);</script>
@ -717,7 +717,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("5", 1);</script>
@ -741,7 +741,7 @@
<object-name>R6</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton("6", 1);</script>
@ -761,7 +761,7 @@
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.rskbutton_b("6", 1);</script>
@ -786,7 +786,7 @@
<object-name>left</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.arrowbutton("left", 1);</script>
@ -810,7 +810,7 @@
<object-name>right</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.arrowbutton("right", 1);</script>
@ -834,7 +834,7 @@
<object-name>up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.arrowbutton("up", 1);</script>
@ -858,7 +858,7 @@
<object-name>down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu.arrowbutton("down", 1);</script>

View file

@ -1 +1 @@
4764
4765