4 ************************************************************************
5 * Bindings for Microsoft SideWinder Force Feed joystick.
10 * Axis 2 (twist): rudder
12 * Axes 6 and 7 (hat): view direction
14 * Button 0: all brakes
15 * Button 1: elevator trim up
16 * Button 2: elevator trim down
17 * Button 3: center view
20 * Button 6: right brake only
21 * Button 7: left brake only
22 ************************************************************************
27 <name>Microsoft SideWinder 3D Pro</name>
32 <command>property-scale</command>
33 <property>/controls/flight/aileron</property>
34 <squared type="bool">true</squared>
41 <command>property-scale</command>
42 <property>/controls/flight/elevator</property>
43 <factor type="double">-1.0</factor>
44 <squared type="bool">true</squared>
51 <command>property-scale</command>
52 <property>/controls/flight/rudder</property>
53 <factor type="double">1.0</factor>
60 <command>property-scale</command>
61 <property>/controls/engines/engine[0]/throttle</property>
62 <offset type="double">-1.0</offset>
63 <factor type="double">-0.5</factor>
66 <command>property-scale</command>
67 <property>/controls/engines/engine[1]/throttle</property>
68 <offset type="double">-1.0</offset>
69 <factor type="double">-0.5</factor>
72 <command>property-scale</command>
73 <property>/controls/engines/engine[2]/throttle</property>
74 <offset type="double">-1.0</offset>
75 <factor type="double">-0.5</factor>
78 <command>property-scale</command>
79 <property>/controls/engines/engine[3]/throttle</property>
80 <offset type="double">-1.0</offset>
81 <factor type="double">-0.5</factor>
84 <command>property-scale</command>
85 <property>/controls/engines/engine[4]/throttle</property>
86 <offset type="double">-1.0</offset>
87 <factor type="double">-0.5</factor>
90 <command>property-scale</command>
91 <property>/controls/engines/engine[5]/throttle</property>
92 <offset type="double">-1.0</offset>
93 <factor type="double">-0.5</factor>
96 <command>property-scale</command>
97 <property>/controls/engines/engine[6]/throttle</property>
98 <offset type="double">-1.0</offset>
99 <factor type="double">-0.5</factor>
102 <command>property-scale</command>
103 <property>/controls/engines/engine[7]/throttle</property>
104 <offset type="double">-1.0</offset>
105 <factor type="double">-0.5</factor>
110 <desc>View Direction</desc>
112 <repeatable>true</repeatable>
114 <command>property-adjust</command>
115 <property>/sim/current-view/goal-heading-offset-deg</property>
116 <step type="double">1.0</step>
120 <repeatable>true</repeatable>
122 <command>property-adjust</command>
123 <property>/sim/current-view/goal-heading-offset-deg</property>
124 <step type="double">-1.0</step>
130 <desc>View Elevation</desc>
132 <repeatable>true</repeatable>
134 <command>property-adjust</command>
135 <property>/sim/current-view/goal-pitch-offset-deg</property>
136 <step type="double">1.0</step>
140 <repeatable>true</repeatable>
142 <command>property-adjust</command>
143 <property>/sim/current-view/goal-pitch-offset-deg</property>
144 <step type="double">-1.0</step>
152 <command>property-assign</command>
153 <property>/controls/gear/wheel[0]/brake</property>
154 <value type="double">1.0</value>
157 <command>property-assign</command>
158 <property>/controls/gear/wheel[1]/brake</property>
159 <value type="double">1.0</value>
162 <command>property-assign</command>
163 <property>/controls/gear/wheel[2]/brake</property>
164 <value type="double">1.0</value>
168 <command>property-assign</command>
169 <property>/controls/gear/wheel[0]/brake</property>
170 <value type="double">0.0</value>
173 <command>property-assign</command>
174 <property>/controls/gear/wheel[1]/brake</property>
175 <value type="double">0.0</value>
178 <command>property-assign</command>
179 <property>/controls/gear/wheel[2]/brake</property>
180 <value type="double">0.0</value>
186 <desc>Elevator trim up</desc>
187 <repeatable type="bool">true</repeatable>
189 <command>property-adjust</command>
190 <property>/controls/flight/elevator-trim</property>
191 <step type="double">0.001</step>
196 <desc>Elevator trim down</desc>
197 <repeatable type="bool">true</repeatable>
199 <command>property-adjust</command>
200 <property>/controls/flight/elevator-trim</property>
201 <step type="double">-0.001</step>
206 <desc>Center View</desc>
207 <repeatable type="bool">false</repeatable>
209 <command>property-assign</command>
210 <property>/sim/current-view/goal-heading-offset-deg</property>
211 <value type="double">0.0</value>
214 <command>property-assign</command>
215 <property>/sim/current-view/goal-pitch-offset-deg</property>
216 <value type="double">0.0</value>
221 <desc>Flaps down</desc>
222 <repeatable>false</repeatable>
224 <command>property-adjust</command>
225 <property>/controls/flight/flaps</property>
226 <step type="double">-0.34</step>
231 <desc>Flaps up</desc>
232 <repeatable>false</repeatable>
234 <command>property-adjust</command>
235 <property>/controls/flight/flaps</property>
236 <step type="double">0.34</step>
241 <desc>Right brake</desc>
243 <command>property-assign</command>
244 <property>/controls/gear/wheel[1]/brake</property>
245 <value type="double">1.0</value>
249 <command>property-assign</command>
250 <property>/controls/gear/wheel[1]/brake</property>
251 <value type="double">0.0</value>
257 <desc>Left brake</desc>
259 <command>property-assign</command>
260 <property>/controls/gear/wheel[0]/brake</property>
261 <value type="double">1.0</value>
265 <command>property-assign</command>
266 <property>/controls/gear/wheel[0]/brake</property>
267 <value type="double">0.0</value>