fix REV on ECAM, ext pwr button behavior fixed, rev keys now W and Q

This commit is contained in:
Joshua Davidson 2017-04-16 01:22:20 -04:00
parent ec31e44843
commit effb486fa7
4 changed files with 14 additions and 7 deletions

View file

@ -570,12 +570,12 @@
<binding>
<command>nasal</command>
<script>
gui.popupTip("Use F2 to activate reverse thrust, and F1 to deactivate reverse thrust.");
gui.popupTip("Use w to activate reverse thrust, and q to deactivate reverse thrust.");
</script>
</binding>
</key>
<key n="257">
<name>F1</name>
<key n="113">
<name>q</name>
<desc>Disengage/Decrease reversers</desc>
<binding>
<command>nasal</command>
@ -584,8 +584,8 @@
</script>
</binding>
</key>
<key n="258">
<name>F2</name>
<key n="119">
<name>w</name>
<desc>Engage/Increase reversers</desc>
<binding>
<command>nasal</command>

View file

@ -215,6 +215,11 @@
<label>Enable External Power Box</label>
<halign>left</halign>
<property>/controls/switches/cart</property>
<binding>
<command>property-assign</command>
<property>/controls/electrical/switches/gen-ext</property>
<value>0</value>
</binding>
<binding>
<command>dialog-apply</command>
</binding>

View file

@ -94,6 +94,8 @@
<object-name>epr1</object-name>
<object-name>egt1</object-name>
<object-name>thrpos1</object-name>
<object-name>rev1.g</object-name>
<object-name>rev1.y</object-name>
<condition>
<or>
<equals>
@ -114,6 +116,8 @@
<object-name>epr2</object-name>
<object-name>egt2</object-name>
<object-name>thrpos2</object-name>
<object-name>rev2.g</object-name>
<object-name>rev2.y</object-name>
<condition>
<or>
<equals>

View file

@ -272,8 +272,6 @@ setlistener("/systems/electrical/bus/ac-ess", func {
}
});
var update_electrical = func {
master_elec();
settimer(update_electrical, ELEC_UPDATE_PERIOD);