6800b9728d
here's the promised patch: - make throttle work for 8 engines (b52) - resolve multiple property bindings (simply stating more than one property per binding doesn't do anything; this has to be written as two bindings; didn't touch "Reset View" button in X45, though) - add $Id$ lines - adjust step size in "my" joystick file (X8-30) to work best on a 2.4GHz computer :-> I didn't add entries for propeller related properties, such as mixture, prop-pitch, and I didn't change the boost property. These are still for at most two engines.
123 lines
3.3 KiB
XML
123 lines
3.3 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
************************************************************************
|
|
*
|
|
* Bindings for Lew Engineering RCJOY USB - R/C Transmitter USB Joystick
|
|
*
|
|
* Configured for the Hitec Laser 4 RC transmitter,
|
|
* but nearly all major brands are supported:
|
|
* Futaba, Airtronics, JR, Hitec, Tower Hobbies, and Multiplex
|
|
*
|
|
* Ailerons, elevators, rudder, and throttle (channels 1 through 4)
|
|
* are supported. Channels 5 through 8 are used to emulate the
|
|
* four standard joystick buttons.
|
|
*
|
|
* For a list of supported radios,
|
|
* see http://www.leweng.com/support.html
|
|
*
|
|
* Michael Selig
|
|
* 2003/03/25
|
|
*
|
|
* Axis 0: ailerons
|
|
* Axis 1: elevator
|
|
* Axis 2: rudder
|
|
* Axis 3: throttle
|
|
*
|
|
* Radios other than the Hitec might require different axis index assignments.
|
|
* Also, the factor value below might need to be adjusted to get full
|
|
* stick throws in FlightGear.
|
|
*
|
|
************************************************************************
|
|
$Id$
|
|
-->
|
|
|
|
<PropertyList>
|
|
|
|
<name>Lew Engineering RCJOY USB - R/C Transmitter USB Joystick</name>
|
|
|
|
<axis n="0">
|
|
<desc>Aileron</desc>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/flight/aileron</property>
|
|
<squared type="bool">false</squared>
|
|
<factor type="double">1.1</factor>
|
|
</binding>
|
|
</axis>
|
|
|
|
<axis n="2">
|
|
<desc>Rudder</desc>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/flight/rudder</property>
|
|
<squared type="bool">false</squared>
|
|
<factor type="double">1.0</factor>
|
|
</binding>
|
|
</axis>
|
|
|
|
<axis n="1">
|
|
<desc>Elevator</desc>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/flight/elevator</property>
|
|
<squared type="bool">false</squared>
|
|
<factor type="double">1.0</factor>
|
|
</binding>
|
|
</axis>
|
|
|
|
|
|
<axis n="3">
|
|
<desc>Throttle</desc>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/engines/engine[0]/throttle</property>
|
|
<offset type="double">1.0</offset>
|
|
<factor type="double">0.6</factor>
|
|
</binding>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/engines/engine[1]/throttle</property>
|
|
<offset type="double">1.0</offset>
|
|
<factor type="double">0.6</factor>
|
|
</binding>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/engines/engine[2]/throttle</property>
|
|
<offset type="double">1.0</offset>
|
|
<factor type="double">0.6</factor>
|
|
</binding>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/engines/engine[3]/throttle</property>
|
|
<offset type="double">1.0</offset>
|
|
<factor type="double">0.6</factor>
|
|
</binding>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/engines/engine[4]/throttle</property>
|
|
<offset type="double">1.0</offset>
|
|
<factor type="double">0.6</factor>
|
|
</binding>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/engines/engine[5]/throttle</property>
|
|
<offset type="double">1.0</offset>
|
|
<factor type="double">0.6</factor>
|
|
</binding>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/engines/engine[6]/throttle</property>
|
|
<offset type="double">1.0</offset>
|
|
<factor type="double">0.6</factor>
|
|
</binding>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/engines/engine[7]/throttle</property>
|
|
<offset type="double">1.0</offset>
|
|
<factor type="double">0.6</factor>
|
|
</binding>
|
|
</axis>
|
|
|
|
|
|
</PropertyList>
|