Debian Codegraph @

Input/Joysticks/CH/pro-yoke-usb.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Maintainer: Dave Perry -->
3 <PropertyList>
4
5 <name>CH PRODUCTS CH FLIGHT SIM YOKE USB </name>
6 <name>CH FLIGHT SIM YOKE USB </name>
7 <name>CH Flight Sim Yoke USB</name>
8
9 <axis n="0">
10 <desc>Aileron</desc>
11 <binding>
12 <command>property-scale</command>
13 <property>/controls/flight/aileron</property>
14 <power>2.0</power>
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 <factor type="double">-1.0</factor>
24 <power>2.0</power>
25 </binding>
26 </axis>
27
28 <axis n="2">
29 <desc>Throttle</desc>
30 <binding>
31 <command>nasal</command>
32 <script>controls.throttleAxis()</script>
33 </binding>
34 </axis>
35
36 <axis>
37 <desc>Mixture</desc>
38 <number>
39 <unix>3</unix>
40 <mac>3</mac>
41 <windows>4</windows>
42 </number>
43 <binding>
44 <command>property-scale</command>
45 <property>/controls/engines/engine[0]/mixture</property>
46 <offset type="double">-1.0</offset>
47 <factor type="double">-0.5</factor>
48 </binding>
49 <binding>
50 <command>property-scale</command>
51 <property>/controls/engines/engine[1]/mixture</property>
52 <offset type="double">-1.0</offset>
53 <factor type="double">-0.5</factor>
54 </binding>
55 </axis>
56
57 <axis>
58 <desc>Propeller</desc>
59 <number>
60 <unix>4</unix>
61 <mac>4</mac>
62 <windows>3</windows>
63 </number>
64 <binding>
65 <command>property-scale</command>
66 <property>/controls/engines/engine[0]/propeller-pitch</property>
67 <offset type="double">-1.0</offset>
68 <factor type="double">-0.5</factor>
69 </binding>
70 <binding>
71 <command>property-scale</command>
72 <property>/controls/engines/engine[1]/propeller-pitch</property>
73 <offset type="double">-1.0</offset>
74 <factor type="double">-0.5</factor>
75 </binding>
76 </axis>
77
78 <axis>
79 <desc>View Direction</desc>
80 <number>
81 <unix>5</unix>
82 <mac>5</mac>
83 <windows>6</windows>
84 </number>
85 <low>
86 <repeatable>true</repeatable>
87 <binding>
88 <command>property-adjust</command>
89 <property>/sim/current-view/goal-heading-offset-deg</property>
90 <step type="double">2.0</step>
91 </binding>
92 </low>
93 <high>
94 <repeatable>true</repeatable>
95 <binding>
96 <command>property-adjust</command>
97 <property>/sim/current-view/goal-heading-offset-deg</property>
98 <step type="double">-2.0</step>
99 </binding>
100 </high>
101 </axis>
102
103 <axis>
104 <desc>View Elevation</desc>
105 <number>
106 <unix>6</unix>
107 <mac>6</mac>
108 <windows>7</windows>
109 </number>
110 <low>
111 <repeatable>true</repeatable>
112 <binding>
113 <command>property-adjust</command>
114 <property>/sim/current-view/goal-pitch-offset-deg</property>
115 <step type="double">2.0</step>
116 </binding>
117 </low>
118 <high>
119 <repeatable>true</repeatable>
120 <binding>
121 <command>property-adjust</command>
122 <property>/sim/current-view/goal-pitch-offset-deg</property>
123 <step type="double">-2.0</step>
124 </binding>
125 </high>
126 </axis>
127
128 <button n="0">
129 <desc>Reset View</desc>
130 <binding>
131 <command>nasal</command>
132 <script>view.resetView()</script>
133 </binding>
134 </button>
135
136 <button n="1">
137 <desc>Cycle View</desc>
138 <repeatable>false</repeatable>
139 <binding>
140 <command>nasal</command>
141 <script>view.stepView(1)</script>
142 </binding>
143 </button>
144
145 <button n="2">
146 <desc>Rudder Trim Left</desc>
147 <repeatable>true</repeatable>
148 <binding>
149 <command>property-adjust</command>
150 <property>/controls/flight/rudder-trim</property>
151 <step>-0.001</step>
152 </binding>
153 </button>
154
155 <button n="3">
156 <desc>Rudder Trim Right</desc>
157 <repeatable>true</repeatable>
158 <binding>
159 <command>property-adjust</command>
160 <property>/controls/flight/rudder-trim</property>
161 <step>0.001</step>
162 </binding>
163 </button>
164
165 <button n="4">
166 <desc>Gear up</desc>
167 <repeatable>false</repeatable>
168 <binding>
169 <command>nasal</command>
170 <script>controls.gearDown(-1)</script>
171 </binding>
172 <mod-up>
173 <binding>
174 <command>nasal</command>
175 <script>controls.gearDown(0)</script>
176 </binding>
177 </mod-up>
178 </button>
179
180 <button n="5">
181 <desc>Gear down</desc>
182 <repeatable>false</repeatable>
183 <binding>
184 <command>nasal</command>
185 <script>controls.gearDown(1)</script>
186 </binding>
187 <mod-up>
188 <binding>
189 <command>nasal</command>
190 <script>controls.gearDown(0)</script>
191 </binding>
192 </mod-up>
193 </button>
194
195 <button n="6">
196 <desc>Flaps up</desc>
197 <repeatable>false</repeatable>
198 <binding>
199 <command>nasal</command>
200 <script>controls.flapsDown(-1)</script>
201 </binding>
202 <mod-up>
203 <binding>
204 <command>nasal</command>
205 <script>controls.flapsDown(0)</script>
206 </binding>
207 </mod-up>
208 </button>
209
210 <button n="7">
211 <desc>Flaps down</desc>
212 <repeatable>false</repeatable>
213 <binding>
214 <command>nasal</command>
215 <script>controls.flapsDown(1)</script>
216 </binding>
217 <mod-up>
218 <binding>
219 <command>nasal</command>
220 <script>controls.flapsDown(0)</script>
221 </binding>
222 </mod-up>
223 </button>
224
225 <button n="8">
226 <desc>Increase Engine Boost</desc>
227 <repeatable>true</repeatable>
228 <binding>
229 <command>property-adjust</command>
230 <property>/controls/engines/engine[0]/boost</property>
231 <step type="double">+0.01</step>
232 </binding>
233 <binding>
234 <command>property-adjust</command>
235 <property>/controls/engines/engine[1]/boost</property>
236 <step type="double">+0.01</step>
237 </binding>
238 </button>
239
240 <button n="9">
241 <desc>Decrease Engine Boost</desc>
242 <repeatable>true</repeatable>
243 <binding>
244 <command>property-adjust</command>
245 <property>/controls/engines/engine[0]/boost</property>
246 <step type="double">-0.01</step>
247 </binding>
248 <binding>
249 <command>property-adjust</command>
250 <property>/controls/engines/engine[1]/boost</property>
251 <step type="double">-0.01</step>
252 </binding>
253 </button>
254
255 <button n="10">
256 <desc>Elevator Trim down</desc>
257 <repeatable>true</repeatable>
258 <binding>
259 <command>property-adjust</command>
260 <property>/controls/flight/elevator-trim</property>
261 <step>0.0025</step>
262 </binding>
263 </button>
264
265 <button n="11">
266 <desc>Elevator Trim up</desc>
267 <repeatable>true</repeatable>
268 <binding>
269 <command>property-adjust</command>
270 <property>/controls/flight/elevator-trim</property>
271 <step>-0.0025</step>
272 </binding>
273 </button>
274
275 </PropertyList>