1
0
Fork 0

Use a Nasal script instead of a fixed number of flap settings.

This commit is contained in:
ehofman 2004-08-15 09:19:36 +00:00
parent 168e592e03
commit 8844cb13ec

View file

@ -216,15 +216,33 @@ $Id$
</binding>
</button>
<!--
<button n="6">
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<value type="double">0.0</value>
<step type="double">-0.34</step>
</binding>
</button>
-->
<button n="6">
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>controls.stepFlaps(-1)</script>
</binding>
</button>
<button n="7">
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>controls.stepFlaps(1)</script>
</binding>
</button>
<!--
<button n="7">
<repeatable>false</repeatable>
<binding>
@ -233,6 +251,8 @@ $Id$
<step type="double">0.34</step>
</binding>
</button>
-->
<button n="8">
<repeatable>true</repeatable>