1
0
Fork 0

use controls.geatToggle() wrapper

This commit is contained in:
mfranz 2007-01-15 23:08:29 +00:00
parent dfaec0a645
commit 3ba1323fe8

View file

@ -207,16 +207,7 @@ Bindings for THRUSTMASTER HOTAS Cougar stick/throttle combination.
<desc>gear up or down</desc>
<binding>
<command>nasal</command>
<script>
gearToggle = getprop("/controls/gear/gear-down");
if (gearToggle == 1) {
controls.gearDown(-1);
gui.popupTip("Gear up!");
} else {
controls.gearDown(1);
gui.popupTip("Gear down!");
}
</script>
<script>controls.gearToggle()</script>
</binding>
</button>
<!-- end gear configuration -->