TOGA shortcut
This commit is contained in:
parent
b1db493845
commit
86eb601212
2 changed files with 14 additions and 0 deletions
|
@ -980,6 +980,16 @@
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</key>
|
</key>
|
||||||
|
<key n="102">
|
||||||
|
<name>f</name>
|
||||||
|
<desc>TOGA power</desc>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
systems.doTOGAThrust();
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</key>
|
||||||
<key n="2">
|
<key n="2">
|
||||||
<name>Ctrl-b</name>
|
<name>Ctrl-b</name>
|
||||||
<desc>Cycle speedbrake setting</desc>
|
<desc>Cycle speedbrake setting</desc>
|
||||||
|
|
|
@ -390,6 +390,10 @@ var doIdleThrust = func {
|
||||||
setprop("/controls/engines/engine[1]/throttle", 0.0);
|
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 #
|
# Reverse Thrust System #
|
||||||
#########################
|
#########################
|
||||||
|
|
Reference in a new issue