Debian Codegraph @

Input/Joysticks/Logitech/attack-3.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 ************************************************************************
5 Logitech Attack 3 joystick bindings.
6
7 Justin Smithies 2006
8
9 2 Axis joystick with throttle and 11 buttons.
10 ************************************************************************
11 -->
12
13 <PropertyList>
14
15 <name>Logitech Attack 3</name>
16 <name>Logitech Logitech Attack 3</name>
17
18 <axis n="0">
19 <desc>Aileron</desc>
20 <binding>
21 <command>property-scale</command>
22 <property>/controls/flight/aileron</property>
23 <squared type="bool">true</squared>
24 </binding>
25 </axis>
26
27 <axis n="1">
28 <desc>Elevator</desc>
29 <binding>
30 <command>property-scale</command>
31 <property>/controls/flight/elevator</property>
32 <factor type="double">-1.0</factor>
33 <squared type="bool">true</squared>
34 </binding>
35 </axis>
36
37 <axis n="2">
38 <desc>Throttle</desc>
39 <binding>
40 <command>nasal</command>
41 <script>controls.throttleAxis()</script>
42 </binding>
43 </axis>
44
45 <button n="0">
46 <desc>Brakes</desc>
47 <binding>
48 <command>nasal</command>
49 <script>controls.applyBrakes(1)</script>
50 </binding>
51 <mod-up>
52 <binding>
53 <command>nasal</command>
54 <script>controls.applyBrakes(0)</script>
55 </binding>
56 </mod-up>
57 </button>
58
59 <button n="2">
60 <desc>Elevator trim up</desc>
61 <repeatable type="bool">true</repeatable>
62 <binding>
63 <command>nasal</command>
64 <script>controls.elevatorTrim(1)</script>
65 </binding>
66 </button>
67
68 <button n="1">
69 <desc>Elevator trim down</desc>
70 <repeatable type="bool">true</repeatable>
71 <binding>
72 <command>nasal</command>
73 <script>controls.elevatorTrim(-1)</script>
74 </binding>
75 </button>
76
77 <button n="6">
78 <desc>Flaps down</desc>
79 <binding>
80 <command>nasal</command>
81 <script>controls.flapsDown(1)</script>
82 </binding>
83 <mod-up>
84 <binding>
85 <command>nasal</command>
86 <script>controls.flapsDown(0)</script>
87 </binding>
88 </mod-up>
89 </button>
90
91 <button n="5">
92 <desc>Flaps up</desc>
93 <repeatable>false</repeatable>
94 <binding>
95 <command>nasal</command>
96 <script>controls.flapsDown(-1)</script>
97 </binding>
98 <mod-up>
99 <binding>
100 <command>nasal</command>
101 <script>controls.flapsDown(0)</script>
102 </binding>
103 </mod-up>
104 </button>
105
106 <button n="7">
107 <desc>Left brake</desc>
108 <binding>
109 <command>nasal</command>
110 <script>controls.applyBrakes(1, -1)</script>
111 </binding>
112 <mod-up>
113 <binding>
114 <command>nasal</command>
115 <script>controls.applyBrakes(0, -1)</script>
116 </binding>
117 </mod-up>
118 </button>
119
120 <button n="8">
121 <desc>Right brake</desc>
122 <binding>
123 <command>nasal</command>
124 <script>controls.applyBrakes(1, 1)</script>
125 </binding>
126 <mod-up>
127 <binding>
128 <command>nasal</command>
129 <script>controls.applyBrakes(0, 1)</script>
130 </binding>
131 </mod-up>
132 </button>
133
134 <button n="10">
135 <desc>Gear up</desc>
136 <repeatable>false</repeatable>
137 <binding>
138 <command>nasal</command>
139 <script>controls.gearDown(-1)</script>
140 </binding>
141 <mod-up>
142 <binding>
143 <command>nasal</command>
144 <script>controls.gearDown(0)</script>
145 </binding>
146 </mod-up>
147 </button>
148
149 <button n="9">
150 <desc>Gear down</desc>
151 <repeatable>false</repeatable>
152 <binding>
153 <command>nasal</command>
154 <script>controls.gearDown(1)</script>
155 </binding>
156 <mod-up>
157 <binding>
158 <command>nasal</command>
159 <script>controls.gearDown(0)</script>
160 </binding>
161 </mod-up>
162 </button>
163
164 </PropertyList>
165
166 <!-- end of joystick.xml -->
167