1
0
Fork 0
fgdata/Input/Joysticks/Macally/istick-usb.xml

130 lines
3 KiB
XML
Raw Normal View History

2004-05-03 19:02:16 +00:00
<?xml version="1.0"?>
<!--
************************************************************************
Setup for a MacALLY USB iStick joystick with
one stick, one wheel, one digital hat, and four buttons.
Layout:
Axis 0: ailerons
Axis 1: elevator
Axis 2: throttle
Hat:
Axes 3 and 4
Button 0: brakes (front button)
Button 1: center rudder (side button)
Button 2: trim up
Button 3: trim down
************************************************************************
-->
<PropertyList>
<name>MacALLY USB Joystick </name>
<axis n="0">
<desc>Aileron</desc>
<dead-band type="double">0.02</dead-band>
<binding>
<command>property-scale</command>
<property>/controls/flight/aileron</property>
<offset type="double">+0.0</offset>
<factor type="double">+2.0</factor>
</binding>
</axis>
<axis n="1">
<desc>Elevator</desc>
<dead-band type="double">0.02</dead-band>
<binding>
<command>property-scale</command>
<property>/controls/flight/elevator</property>
<offset type="double">+0.0</offset>
<factor type="double">-2.0</factor>
</binding>
</axis>
<axis n="2">
<desc>Throttle</desc>
<binding>
<command>nasal</command>
<script>controls.throttleAxis()</script>
<offset type="double">+0.5</offset>
<factor type="double">-2.0</factor>
</binding>
</axis>
<axis n="3">
<desc>Rudder</desc>
<dead-band type="double">0.02</dead-band>
<binding>
<command>property-scale</command>
<property>/controls/flight/rudder</property>
<offset type="double">0.0</offset>
<factor type="double">1.0</factor>
</binding>
</axis>
<button n="0">
<desc>Brakes</desc>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">1.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">1.0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-left</property>
<value type="double">0.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/brake-right</property>
<value type="double">0.0</value>
</binding>
</mod-up>
</button>
<button n="1">
<desc>Elevator trimup</desc>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">0.001</step>
</binding>
</button>
<button n="2">
<desc>Center rudder</desc>
<binding>
<command>property-assign</command>
<property>/controls/flight/rudder</property>
<value type="double">0.0</value>
</binding>
</button>
<button n="3">
<desc>Elevator trim down</desc>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">0.001</step>
</binding>
</button>
</PropertyList>
<!-- end of MAUSBJS.xml -->