Debian Codegraph @

Input/Joysticks/CH/throttle-quadrant.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4 <name type="string">CH THROTTLE QUADRANT</name>
5 <name type="string">CH Throttle Quadrant</name>
6 <name type="string">CH PRODUCTS CH THROTTLE QUADRANT</name>
7
8 <!-- On Linux, the throttles are mapped 0 1 2 3 4 5
9 On Windows, the throttles are mapped 0 1 2 5 4 3 -->
10 <axis>
11 <name>Lever 0</name>
12 <number>
13 <unix>0</unix>
14 <windows>0</windows>
15 <mac>0</mac>
16 </number>
17 <desc type="string">Throttle 1</desc>
18 <binding>
19 <command type="string">nasal</command>
20 <script type="string">controls.perEngineSelectedAxisHandler(0)(0);</script>
21 </binding>
22 </axis>
23 <axis>
24 <name>Lever 1</name>
25 <number>
26 <unix>1</unix>
27 <windows>1</windows>
28 <mac>1</mac>
29 </number>
30 <desc type="string">Throttle 2</desc>
31 <binding>
32 <command type="string">nasal</command>
33 <script type="string">controls.perEngineSelectedAxisHandler(0)(1);</script>
34 </binding>
35 </axis>
36 <axis>
37 <name>Lever 2</name>
38 <number>
39 <unix>2</unix>
40 <windows>2</windows>
41 <mac>2</mac>
42 </number>
43 <desc type="string">Mixture 1</desc>
44 <binding>
45 <command type="string">nasal</command>
46 <script type="string">controls.perEngineSelectedAxisHandler(2)(0);</script>
47 </binding>
48 </axis>
49 <axis>
50 <name>Lever 3</name>
51 <number>
52 <unix>3</unix>
53 <windows>5</windows>
54 <mac>3</mac>
55 </number>
56 <desc type="string">Mixture 2</desc>
57 <binding>
58 <command type="string">nasal</command>
59 <script type="string">controls.perEngineSelectedAxisHandler(2)(1);</script>
60 </binding>
61 </axis>
62 <axis>
63 <name>Lever 4</name>
64 <number>
65 <unix>4</unix>
66 <windows>4</windows>
67 <mac>4</mac>
68 </number>
69 <desc type="string">Propeller 1</desc>
70 <binding>
71 <command type="string">nasal</command>
72 <script type="string">controls.perEngineSelectedAxisHandler(1)(0);</script>
73 </binding>
74 </axis>
75 <axis>
76 <name>Lever 5</name>
77 <number>
78 <unix>5</unix>
79 <windows>3</windows>
80 <mac>5</mac>
81 </number>
82 <desc type="string">Propeller 2</desc>
83 <binding>
84 <command type="string">nasal</command>
85 <script type="string">controls.perEngineSelectedAxisHandler(1)(1);</script>
86 </binding>
87 </axis>
88 <button>
89 <desc type="string">Flaps Up</desc>
90 <repeatable type="string">false</repeatable>
91 <binding>
92 <command type="string">nasal</command>
93 <script type="string">controls.flapsDown(-1);</script>
94 </binding>
95 <mod-up>
96 <binding>
97 <command type="string">nasal</command>
98 <script type="string">controls.flapsDown(0);</script>
99 </binding>
100 </mod-up>
101 </button>
102 <button n="1">
103 <desc type="string">Flaps Down</desc>
104 <repeatable type="string">false</repeatable>
105 <binding>
106 <command type="string">nasal</command>
107 <script type="string">controls.flapsDown(1);</script>
108 </binding>
109 <mod-up>
110 <binding>
111 <command type="string">nasal</command>
112 <script type="string">controls.flapsDown(0);</script>
113 </binding>
114 </mod-up>
115 </button>
116 <button n="2">
117 <desc type="string">Spoilers Retract</desc>
118 <repeatable type="string">false</repeatable>
119 <binding>
120 <command type="string">nasal</command>
121 <script type="string">
122 controls.stepSpoilers(-1);</script>
123 </binding>
124 <mod-up>
125 <binding>
126 <command type="string">nasal</command>
127 <script type="string">controls.stepSpoilers(0);</script>
128 </binding>
129 </mod-up>
130 </button>
131 <button n="3">
132 <desc type="string">Spoilers Deploy</desc>
133 <repeatable type="string">false</repeatable>
134 <binding>
135 <command type="string">nasal</command>
136 <script type="string">controls.stepSpoilers(1);</script>
137 </binding>
138 <mod-up>
139 <binding>
140 <command type="string">nasal</command>
141 <script type="string">controls.stepSpoilers(0);</script>
142 </binding>
143 </mod-up>
144 </button>
145 <button n="4">
146 <desc type="string">Slats Retract</desc>
147 <repeatable type="string">false</repeatable>
148 <binding>
149 <command type="string">nasal</command>
150 <script type="string">controls.stepSlats(-1);</script>
151 </binding>
152 <mod-up>
153 <binding>
154 <command type="string">nasal</command>
155 <script type="string">controls.stepSlats(0);</script>
156 </binding>
157 </mod-up>
158 </button>
159 <button n="5">
160 <desc type="string">Slats Deploy</desc>
161 <repeatable type="string">false</repeatable>
162 <binding>
163 <command type="string">nasal</command>
164 <script type="string">controls.stepSlats(1);</script>
165 </binding>
166 <mod-up>
167 <binding>
168 <command type="string">nasal</command>
169 <script type="string">controls.stepSlats(0);</script>
170 </binding>
171 </mod-up>
172 </button>
173 <button n="6">
174 <desc type="string">Gear Up</desc>
175 <repeatable type="string">false</repeatable>
176 <binding>
177 <command type="string">nasal</command>
178 <script type="string">controls.gearDown(-1);</script>
179 </binding>
180 <mod-up>
181 <binding>
182 <command type="string">nasal</command>
183 <script type="string">controls.gearDown(0);</script>
184 </binding>
185 </mod-up>
186 </button>
187 <button n="7">
188 <desc type="string">Gear Down</desc>
189 <repeatable type="string">false</repeatable>
190 <binding>
191 <command type="string">nasal</command>
192 <script type="string">controls.gearDown(1);</script>
193 </binding>
194 <mod-up>
195 <binding>
196 <command type="string">nasal</command>
197 <script type="string">controls.gearDown(0);</script>
198 </binding>
199 </mod-up>
200 </button>
201 </PropertyList>