1
0
Fork 0

Melchior FRANZ:

The one hat axis should be 4 for Unix/Linux and 6 for windows (according
to someone on IRC), while the other hat axis is apparently 7 for all
systems. Changed the throttle to Nasal, too.

I didn't nasalify the rest, because that's error-prone and I wouldn't
be able to test it.
This commit is contained in:
ehofman 2005-04-19 12:39:02 +00:00
parent cd613bed74
commit b5a534d91f

View file

@ -68,57 +68,18 @@ $Id:
<windows>2</windows>
</number>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[0]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[1]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[2]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[3]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[4]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[5]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[6]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[7]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
<command>nasal</command>
<script>controls.throttleAxis()</script>
</binding>
</axis>
<axis n="4">
<axis>
<desc>View Direction</desc>
<number>
<unix>4</unix>
<mac>4</mac>
<windows>6</windows>
</number>
<low>
<repeatable>true</repeatable>
<binding>
@ -137,8 +98,13 @@ $Id:
</high>
</axis>
<axis n="7">
<axis>
<desc>View Elevation</desc>
<number>
<unix>7</unix>
<mac>7</mac>
<windows>7</windows>
</number>
<low>
<repeatable>true</repeatable>
<binding>