1
0
Fork 0

Fix axis bindings for windows. Make compatible with windows.

This commit is contained in:
Durk Talsma 2011-08-21 14:28:36 +02:00
parent 94b73572fa
commit b98a091e0b

View file

@ -33,22 +33,34 @@
<script>controls.throttleAxis()</script>
</binding>
</axis>
<axis n="3">
<axis>
<number>
<unix>3</unix>
<windows>4</windows>
</number>
<desc>Prop Pitch</desc>
<binding>
<command>nasal</command>
<script>controls.propellerAxis()</script>
</binding>
</axis>
<axis n="4">
<axis>
<number>
<unix>4</unix>
<windows>3</windows>
</number>
<desc>Mixture</desc>
<binding>
<command>nasal</command>
<script>controls.mixtureAxis()</script>
</binding>
</axis>
<axis n="5">
<!-- Coolie Hat -->
<axis>
<number>
<unix>5</unix>
<windows>6</windows>
</number>
<desc>View Direction</desc>
<low>
<repeatable>true</repeatable>
@ -67,8 +79,10 @@
</binding>
</high>
</axis>
<axis n="6">
<axis>
<number>
<unix>6</unix>
</number>
<desc>View Elevation</desc>
<low>
<repeatable>true</repeatable>
@ -87,6 +101,28 @@
</binding>
</high>
</axis>
<axis>
<number>
<windows>7</windows>
</number>
<desc>View Elevation</desc>
<low>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-pitch-offset-deg</property>
<step type="double">-1.0</step>
</binding>
</low>
<high>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/sim/current-view/goal-pitch-offset-deg</property>
<step type="double">1.0</step>
</binding>
</high>
</axis>
<!-- Buttons on the Yoke -->
<button n="0">
<desc>Cycle View</desc>