TOGA shortcut

This commit is contained in:
Jonathan Redpath 2017-08-30 12:08:24 +01:00
parent b1db493845
commit 86eb601212
2 changed files with 14 additions and 0 deletions

View file

@ -980,6 +980,16 @@
</script>
</binding>
</key>
<key n="102">
<name>f</name>
<desc>TOGA power</desc>
<binding>
<command>nasal</command>
<script>
systems.doTOGAThrust();
</script>
</binding>
</key>
<key n="2">
<name>Ctrl-b</name>
<desc>Cycle speedbrake setting</desc>

View file

@ -390,6 +390,10 @@ var doIdleThrust = func {
setprop("/controls/engines/engine[1]/throttle", 0.0);
}
var doTOGAThrust = func {
setprop("/controls/engines/engine[0]/throttle", 1.0);
setprop("/controls/engines/engine[1]/throttle", 1.0);
}
#########################
# Reverse Thrust System #
#########################