1
0
Fork 0

fix flaps and gear

This commit is contained in:
mfranz 2007-01-15 22:50:36 +00:00
parent 0d672a084b
commit cbf2ad2f03

View file

@ -210,10 +210,10 @@ Bindings for THRUSTMASTER HOTAS Cougar stick/throttle combination.
<script>
gearToggle = getprop("/controls/gear/gear-down");
if (gearToggle == 1) {
setprop("/controls/gear/gear-down", 0);
controls.gearDown(-1);
gui.popupTip("Gear up!");
} else {
setprop("/controls/gear/gear-down", 1);
controls.gearDown(1);
gui.popupTip("Gear down!");
}
</script>
@ -229,6 +229,12 @@ Bindings for THRUSTMASTER HOTAS Cougar stick/throttle combination.
<command>nasal</command>
<script>controls.flapsDown(-1)</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>controls.flapsDown(0)</script>
</binding>
</mod-up>
</button>
<button n="8">
@ -237,6 +243,12 @@ Bindings for THRUSTMASTER HOTAS Cougar stick/throttle combination.
<command>nasal</command>
<script>controls.flapsDown(1)</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>controls.flapsDown(0)</script>
</binding>
</mod-up>
</button>
<!-- end flaps configuration -->