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>
|
</mouse>
|
||||||
</mice>
|
</mice>
|
||||||
<keyboard>
|
<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">
|
<key n="24">
|
||||||
<name>Ctrl-X</name>
|
<name>Ctrl-x</name>
|
||||||
<desc>Reset zoom to default</desc>
|
<desc>Reset zoom to default</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
|
@ -1226,6 +1238,21 @@
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</key>
|
</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">
|
<key n="88">
|
||||||
<name>X</name>
|
<name>X</name>
|
||||||
<desc>Increase field of view</desc>
|
<desc>Increase field of view</desc>
|
||||||
|
|
|
@ -96,6 +96,10 @@
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>F2 - Engage/Increase Reverse Thrust</label>
|
<label>F2 - Engage/Increase Reverse Thrust</label>
|
||||||
</text>
|
</text>
|
||||||
|
<text>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>DEL - Toggle Reverse Thrust</label>
|
||||||
|
</text>
|
||||||
<text>
|
<text>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>E - Set Idle Thrust</label>
|
<label>E - Set Idle Thrust</label>
|
||||||
|
@ -104,10 +108,6 @@
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>F - Set TOGA Thrust</label>
|
<label>F - Set TOGA Thrust</label>
|
||||||
</text>
|
</text>
|
||||||
<text>
|
|
||||||
<halign>left</halign>
|
|
||||||
<label>DEL - Toggle Reverse Thrust</label>
|
|
||||||
</text>
|
|
||||||
<text>
|
<text>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>CTRL + B - Cycle Spoilers</label>
|
<label>CTRL + B - Cycle Spoilers</label>
|
||||||
|
@ -116,6 +116,14 @@
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>SHIFT + B - Toggle Parking Brake</label>
|
<label>SHIFT + B - Toggle Parking Brake</label>
|
||||||
</text>
|
</text>
|
||||||
|
<text>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>CTRL + D - Disconnect Autothrottle</label>
|
||||||
|
</text>
|
||||||
|
<text>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>SHIFT + D - Disconnect Autopilot</label>
|
||||||
|
</text>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4414
|
4415
|
Reference in a new issue