Customized joystick bindings for various devices.
[fg:toms-fgdata.git] / joysticks.xml
1 <?xml version="1.0"?>
2 <!--
3 Joystick binding definitions.
4
5 This file is included by preferences.xml, and uses the context of its
6 inclusion point; that means that you need to prepend "/input/joysticks"
7 to all property names.
8
9 This file defines primary flight-control bindings for a simple
10 three-axis, three-button joystick, as follow:
11
12   axis 0 (left-right): aileron
13   axis 1 (forward-backward): elevator
14   axis 2 (slider): throttle
15   button 0 (trigger): brakes
16   button 1: trim up
17   button 2: trim down
18
19 If you have a more sophisticated joystick, there might be more axes
20 available; on my joystick, axis 2 is actually a twist axis (usually
21 for the rudder), while axis 3 is the throttle.  There are also two
22 axes for the hat switch, and several more buttons.
23 -->
24
25 <PropertyList>
26
27  <!-- Default device -->
28  <js n="0" include="Input/Joysticks/Default/joystick.xml"/>
29
30  <!-- FIXME: dummy placeholder to force a high starting index -->
31  <js-named n="999"/>
32
33  <!-- CH devices -->
34  <js-named include="Input/Joysticks/CH/pro-pedals-usb.xml"/>
35  <js-named include="Input/Joysticks/CH/pro-yoke-usb.xml"/>
36
37  <!-- Logitech devices -->
38  <js-named include="Input/Joysticks/Logitech/wingman-extreme-digital-3d.xml"/>
39  <js-named include="Input/Joysticks/Logitech/wingman-rumblepad-usb.xml"/>
40
41 </PropertyList>
42
43 <!-- end of joysticks.xml -->