System: Add keyboard AP and ATHR disconnect
This commit is contained in:
parent
9942feec78
commit
0ecc25e00e
3 changed files with 41 additions and 6 deletions
|
@ -997,8 +997,20 @@
|
|||
</mouse>
|
||||
</mice>
|
||||
<keyboard>
|
||||
<key n="4">
|
||||
<name>CTRL-d</name>
|
||||
<desc>Autothrottle Disconnect</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if (getprop("/it-autoflight/output/athr") == 1) {
|
||||
setprop("/it-autoflight/input/athr", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="24">
|
||||
<name>Ctrl-X</name>
|
||||
<name>Ctrl-x</name>
|
||||
<desc>Reset zoom to default</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
|
@ -1226,6 +1238,21 @@
|
|||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="68">
|
||||
<name>D</name>
|
||||
<desc>Autopilot Disconnect</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if (getprop("/it-autoflight/output/ap1") == 1) {
|
||||
setprop("/it-autoflight/input/ap1", 0);
|
||||
}
|
||||
if (getprop("/it-autoflight/output/ap2") == 1) {
|
||||
setprop("/it-autoflight/input/ap2", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="88">
|
||||
<name>X</name>
|
||||
<desc>Increase field of view</desc>
|
||||
|
|
|
@ -96,6 +96,10 @@
|
|||
<halign>left</halign>
|
||||
<label>F2 - Engage/Increase Reverse Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>DEL - Toggle Reverse Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>E - Set Idle Thrust</label>
|
||||
|
@ -104,10 +108,6 @@
|
|||
<halign>left</halign>
|
||||
<label>F - Set TOGA Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>DEL - Toggle Reverse Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>CTRL + B - Cycle Spoilers</label>
|
||||
|
@ -116,6 +116,14 @@
|
|||
<halign>left</halign>
|
||||
<label>SHIFT + B - Toggle Parking Brake</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>CTRL + D - Disconnect Autothrottle</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>SHIFT + D - Disconnect Autopilot</label>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
4414
|
||||
4415
|
Reference in a new issue