Sim: Add keys for MCT/FLX and CL
This commit is contained in:
parent
d455079069
commit
159a8871cb
4 changed files with 39 additions and 1 deletions
|
@ -1011,6 +1011,16 @@
|
|||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="6">
|
||||
<name>CTRL-f</name>
|
||||
<desc>MCT/FLX power</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
systems.doMCTThrust();
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="24">
|
||||
<name>Ctrl-x</name>
|
||||
<desc>Reset zoom to default</desc>
|
||||
|
@ -1255,6 +1265,16 @@
|
|||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="70">
|
||||
<name>SHIFT-f</name>
|
||||
<desc>CL power</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
systems.doCLThrust();
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="88">
|
||||
<name>X</name>
|
||||
<desc>Increase field of view</desc>
|
||||
|
|
|
@ -124,6 +124,14 @@
|
|||
<halign>left</halign>
|
||||
<label>SHIFT + D - Disconnect Autopilot</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>CTRL + F - Set MCT/FLX Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>SHIFT + F - Set CL Thrust</label>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
|
|
|
@ -70,6 +70,16 @@ var doIdleThrust = func {
|
|||
setprop("/controls/engines/engine[1]/throttle", 0.0);
|
||||
}
|
||||
|
||||
var doCLThrust = func {
|
||||
setprop("/controls/engines/engine[0]/throttle", 0.63);
|
||||
setprop("/controls/engines/engine[1]/throttle", 0.63);
|
||||
}
|
||||
|
||||
var doMCTThrust = func {
|
||||
setprop("/controls/engines/engine[0]/throttle", 0.8);
|
||||
setprop("/controls/engines/engine[1]/throttle", 0.8);
|
||||
}
|
||||
|
||||
var doTOGAThrust = func {
|
||||
setprop("/controls/engines/engine[0]/throttle", 1.0);
|
||||
setprop("/controls/engines/engine[1]/throttle", 1.0);
|
||||
|
|
|
@ -1 +1 @@
|
|||
4508
|
||||
4509
|
Reference in a new issue