Remove excess name tags
[fg:toms-fgdata.git] / Input / Joysticks / Logitech / wingman-rumblepad-usb.xml
1 <?xml version="1.0"?>
2
3 <!--
4 ************************************************************************
5 * Setup for Logitech WingMan Rumblepad gamepad.
6 *
7 * This is a USB gamepad with some feedback capability (not supported
8 * by plib or by most OS's).  Bindings are as follow:
9 *
10 * Axis 0 (left joystick): ailerons
11 * Axis 1 (left joystick): elevator
12 * Axis 2 (slider): throttle
13 * Axis 3 (right joystick): rudder
14 * Axis 4 (right joystick): raise/lower 2D panel
15 * Axes 5 and 6 (hat): set view direction
16 *
17 * Button 0 (A): elevator trim up
18 * Button 1 (B): decrease propeller pitch
19 * Button 2 (C): mixture leaner
20 * Button 3 (X): elevator trim down
21 * Button 4 (Y): increase propeller pitch
22 * Button 5 (Z): mixture richer
23 * Button 6 (left trigger): left wheel brake
24 * Button 7 (right trigger): right wheel brake
25 * Button 8 (S): cycle view
26 ************************************************************************
27 -->
28
29 <PropertyList>
30
31  <name>Logitech Inc. WingMan RumblePad</name>
32
33  <axis n="0">
34   <desc>Aileron</desc>
35   <binding>
36    <command>property-scale</command>
37    <property>/controls/aileron</property>
38    <squared>true</squared>
39   </binding>
40  </axis>
41
42  <axis n="1">
43   <desc>Elevator</desc>
44   <binding>
45    <command>property-scale</command>
46    <property>/controls/elevator</property>
47    <factor type="double">-1.0</factor>
48    <squared>true</squared>
49   </binding>
50  </axis>
51
52  <axis n="2">
53   <desc>Throttle</desc>
54   <binding>
55    <command>property-scale</command>
56    <property>/controls/throttle[0]</property>
57    <offset type="double">-1.0</offset>
58    <factor type="double">-0.5</factor>
59   </binding>
60   <binding>
61    <command>property-scale</command>
62    <property>/controls/throttle[1]</property>
63    <offset type="double">-1.0</offset>
64    <factor type="double">-0.5</factor>
65   </binding>
66  </axis>
67
68  <axis n="3">
69   <binding>
70    <command>property-scale</command>
71    <property>/controls/rudder</property>
72    <factor>1.0</factor>
73    <offset>0.0</offset>
74    <squared>true</squared>
75   </binding>
76  </axis>
77
78  <axis n="4">
79   <binding>
80    <command>null</command>
81   </binding>
82   <low>
83    <repeatable>true</repeatable>
84    <binding>
85     <command>property-adjust</command>
86     <property>/sim/panel/y-offset</property>
87     <step>5</step>
88    </binding>
89   </low>
90   <high>
91    <repeatable>true</repeatable>
92    <binding>
93     <command>property-adjust</command>
94     <property>/sim/panel/y-offset</property>
95     <step>-5</step>
96    </binding>
97   </high>
98  </axis>
99
100  <axis n="5">
101   <binding>
102    <command>property-scale</command>
103    <property>/sim/current-view/axes/lat</property>
104   </binding>
105  </axis>
106
107  <axis n="6">
108   <binding>
109    <command>property-scale</command>
110    <property>/sim/current-view/axes/long</property>
111   </binding>
112  </axis>
113
114  <button n="0">
115   <repeatable>true</repeatable>
116   <binding>
117    <command>property-adjust</command>
118    <property>/controls/elevator-trim</property>
119    <step>-0.001</step>
120   </binding>
121   <binding>
122    <command>null</command>
123   </binding>
124   <binding>
125    <command>null</command>
126   </binding>
127  </button>
128
129  <button n="1">
130   <repeatable>true</repeatable>
131   <binding>
132    <command>property-adjust</command>
133    <property>/controls/propeller-pitch[0]</property>
134    <step>-0.01</step>
135   </binding>
136   <binding>
137    <command>property-adjust</command>
138    <property>/controls/propeller-pitch[1]</property>
139    <step>-0.01</step>
140   </binding>
141  </button>
142
143  <button n="2">
144   <repeatable>true</repeatable>
145   <binding>
146    <command>property-adjust</command>
147    <property>/controls/mixture[0]</property>
148    <step>-0.01</step>
149   </binding>
150   <binding>
151    <command>property-adjust</command>
152    <property>/controls/mixture[1]</property>
153    <step>-0.01</step>
154   </binding>
155  </button>
156
157  <button n="3">
158   <repeatable>true</repeatable>
159   <binding>
160    <command>property-adjust</command>
161    <property>/controls/elevator-trim</property>
162    <step>0.001</step>
163   </binding>
164  </button>
165
166  <button n="4">
167   <repeatable>true</repeatable>
168   <binding>
169    <command>property-adjust</command>
170    <property>/controls/propeller-pitch[0]</property>
171    <step>0.01</step>
172   </binding>
173   <binding>
174    <command>property-adjust</command>
175    <property>/controls/propeller-pitch[1]</property>
176    <step>0.01</step>
177   </binding>
178  </button>
179
180  <button n="5">
181   <repeatable>true</repeatable>
182   <binding>
183    <command>property-adjust</command>
184    <property>/controls/mixture[0]</property>
185    <step>0.01</step>
186   </binding>
187   <binding>
188    <command>property-adjust</command>
189    <property>/controls/mixture[1]</property>
190    <step>0.01</step>
191   </binding>
192  </button>
193
194  <button n="6">
195   <repeatable>true</repeatable>
196   <binding>
197    <command>property-adjust</command>
198    <property>/controls/brakes[0]</property>
199    <step>0.1</step>
200   </binding>
201   <mod-up>
202    <binding>
203     <command>property-assign</command>
204     <property>/controls/brakes[0]</property>
205     <value>0.0</value>
206    </binding>
207   </mod-up>
208  </button>
209
210  <button n="7">
211   <repeatable>true</repeatable>
212   <binding>
213    <command>property-adjust</command>
214    <property>/controls/brakes[1]</property>
215    <step>0.1</step>
216   </binding>
217   <mod-up>
218    <binding>
219     <command>property-assign</command>
220     <property>/controls/brakes[1]</property>
221     <value>0.0</value>
222    </binding>
223   </mod-up>
224  </button>
225
226  <button n="8">
227   <repeatable>false</repeatable>
228   <binding>
229    <command>view-cycle</command>
230   </binding>
231  </button>
232
233 </PropertyList>
234
235 <!-- end of "rumblepad.fgd" -->