Debian Codegraph @

Input/Joysticks/Rockfire/gameport_to_usb.xml

raw symbols SCIP
1 <?xml version="1.0" ?>
2
3 <PropertyList>
4
5 <name>4-axis, 4-button joystick </name>
6
7 <axis n="0">
8 <desc>Aileron</desc>
9 <binding>
10 <command>property-scale</command>
11 <property>/controls/flight/aileron</property>
12 <dead-band type="double">0.02</dead-band>
13 <offset type="double">0.0</offset>
14 <factor type="double">1.0</factor>
15 </binding>
16 </axis>
17
18 <axis n="1">
19 <desc>Elevator</desc>
20 <binding>
21 <command>property-scale</command>
22 <property>/controls/flight/elevator</property>
23 <dead-band type="double">0.02</dead-band>
24 <offset type="double">0.0</offset>
25 <factor type="double">-1.0</factor>
26 </binding>
27 </axis>
28
29 <axis n="2">
30 <desc>Throttle</desc>
31 <binding>
32 <command>nasal</command>
33 <script>controls.throttleAxis()</script>
34 </binding>
35 </axis>
36
37 <axis n="3">
38 <desc>Rudder</desc>
39 <binding>
40 <command>property-scale</command>
41 <property>/controls/flight/rudder</property>
42 <dead-band type="double">0.3</dead-band>
43 <offset type="double">0.0</offset>
44 <factor type="double">1.0</factor>
45 <power type="double">1.5</power>
46 </binding>
47 </axis>
48
49 <button n="0">
50 <desc>Brakes</desc>
51 <binding>
52 <command>nasal</command>
53 <script>controls.applyBrakes(1)</script>
54 </binding>
55 <mod-up>
56 <binding>
57 <command>nasal</command>
58 <script>controls.applyBrakes(0)</script>
59 </binding>
60 </mod-up>
61 </button>
62 </PropertyList>