Use a Nasal script instead of a fixed number of flap settings.
This commit is contained in:
parent
168e592e03
commit
8844cb13ec
1 changed files with 22 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue