Debian Codegraph @

Input/Event/HoneycombAeronautical/Honeycomb-Aeronautical-Bravo-Throttle-Quadrant.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3
4 Copyright (c) 2021 FlightGear Flight Simulator
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <!--
20 ********************************************************************
21 *
22 * Bindings for Honeycomb Aeronautical Bravo Throttle Quadrant
23 *
24 * Note: The throttle quadrant comes with a set of exchangeable levers for the
25 * six axis so they can have different functions depending on which lever you
26 * put onto which axis. In general there are setup for Single Engine (SE),
27 * dual engine (DE) each with or without variable prop (blue lever) and jet
28 *
29 Levers left to right:
30 jet setup SE fix SE var DE fix DE var
31 Lever 0: Speed brake Throttle Throttle Throttle left Throttle left
32 Lever 1: Engine 1 Mixture Prop Throttle right Throttle right
33 Lever 2: Engine 2 Mixture Mixture left Prop left
34 Lever 3: Engine 3 Mixture right Prop right
35 Lever 4: Engine 4 Mixture left
36 Lever 5: Flaps Mixture right
37
38 HID buttons start at 1 (i.e js button +1)
39 Joystick Description
40 Button 0: Autopilot - Heading Hold
41 Button 1: Autopilot - Nav Hold
42 Button 2: Autopilot - APR
43 Button 3: Autopilot - REV
44 Button 4: Autopilot - ALT Hold
45 Button 5: Autopilot - Vertical Speed hold
46 Button 6: Autopilot - IAS Hold
47 Button 7: Autopilot - Toggle AP engage
48 Button 8: Reverse Thrust - Engine 1
49 Button 9: Reverse Thrust - Engine 2
50 Button 10: Reverse Thrust - Engine 3
51 Button 11: Reverse Thrust - Engine 4
52 Button 12: Increase - IAS / CRS / HDG / VS / ALT
53 Button 13: Decrease - IAS / CRS / HDG / VS / ALT
54 Button 14: Flaps Down
55 Button 15: Flaps UP
56 Button 16: Select IAS
57 Button 17: Select CRS
58 Button 18: Select HDG
59 Button 19: Select VS
60 Button 20: Select ALT
61 Button 21: Trim Down
62 Button 22: Trim Up
63 Button 23: Handle 1 (left) - Fully down
64 Button 24: Handle 2 (eng1) - Fully down
65 Button 25: Handle 3 (eng2) - Fully down
66 Button 26: Handle 4 (eng3) - Fully down
67 Button 27: Handle 5 (eng4) - Fully down
68 Button 28: TOGA Switch on Handle 1 or 2 (1 GA config, 2 Airliner config)
69 Button 29: TOGA Switch on Handle 3
70 Button 30: Gear Up
71 Button 31: Gear Down
72 Button 32: Handle 6 (right) - Fully down
73 Button 33: Switch 1 - up
74 Button 34: Switch 1 - down
75 Button 35: Switch 2 - up
76 Button 36: Switch 2 - down
77 Button 37: Switch 3 - up
78 Button 38: Switch 3 - down
79 Button 39: Switch 4 - up
80 Button 40: Switch 4 - down
81 Button 41: Switch 5 - up
82 Button 42: switch 5 - down
83 Button 43: Switch 6 - up
84 Button 44: Switch 6 - down
85 Button 45: Switch 7 - up
86 Button 46: Switch 7 - down
87 Button 47: TOGA on Handle 4
88
89 ********************************************************************
90 -->
91
92 <PropertyList>
93 <vendor-id>honeycomb</vendor-id>
94 <model-id>bravo</model-id>
95 <name>Honeycomb Aeronautical Bravo Throttle Quadrant</name>
96 <device-dialog>honeycomb-bravo</device-dialog>
97 <debug-events type="bool">false</debug-events>
98 <hid-debug-raw type="bool">false</hid-debug-raw>
99 <nasal>
100 <open>
101 <![CDATA[
102 print("Honeycomb Bravo Nasal (event) open");
103 bravo = input_helpers.honeycomb.bravo.new(cmdarg());
104 ]]>
105 </open>
106 <close>
107 <![CDATA[
108 print("Honeycomb Bravo Nasal (event) close");
109 if (ishash(bravo) and isfunc(bravo['close']))
110 bravo.close(cmdarg());
111 ]]>
112 </close>
113 </nasal>
114 <config-variants>
115 <variant>
116 <id>jet2</id>
117 <description>Airliner (two engines)</description>
118 <mapping>
119 <id>lev0</id>
120 <input>/input/honeycomb/bravo/lever[0]</input>
121 <output>/controls/flight/speed-brake</output>
122 </mapping>
123 <mapping>
124 <id>lev2</id>
125 <input>/input/honeycomb/bravo/lever[2]</input>
126 <output>/controls/engines/engine[0]/throttle</output>
127 </mapping>
128 <mapping>
129 <id>lev3</id>
130 <input>/input/honeycomb/bravo/lever[3]</input>
131 <output>/controls/engines/engine[1]/throttle</output>
132 </mapping>
133 <mapping>
134 <id>lb2</id>
135 <input>/input/honeycomb/bravo/lever-down-button[2]</input>
136 <output>/controls/engines/engine[0]/cutoff</output>
137 </mapping>
138 <mapping>
139 <id>lb3</id>
140 <input>/input/honeycomb/bravo/lever-down-button[3]</input>
141 <output>/controls/engines/engine[1]/cutoff</output>
142 </mapping>
143 <mapping>
144 <id>rev2</id>
145 <input>/input/honeycomb/bravo/reverser[2]</input>
146 <output>/controls/engines/engine[0]/reverser-cmd</output>
147 </mapping>
148 <mapping>
149 <id>rev3</id>
150 <input>/input/honeycomb/bravo/reverser[3]</input>
151 <output>/controls/engines/engine[1]/reverser-cmd</output>
152 </mapping>
153 <mapping>
154 <id>lev5</id>
155 <input>/input/honeycomb/bravo/lever[5]</input>
156 <output>/controls/flaps-lever-continuous</output>
157 </mapping>
158 </variant>
159 <variant>
160 <id>jet4</id>
161 <description>Airliner (four engines)</description>
162 <mapping>
163 <id>lev0</id>
164 <input>/input/honeycomb/bravo/lever[0]</input>
165 <output>/controls/flight/speed-brake</output>
166 </mapping>
167 <mapping>
168 <id>lev1</id>
169 <input>/input/honeycomb/bravo/lever[1]</input>
170 <output>/controls/engines/engine[0]/throttle</output>
171 </mapping>
172 <mapping>
173 <id>lev2</id>
174 <input>/input/honeycomb/bravo/lever[2]</input>
175 <output>/controls/engines/engine[1]/throttle</output>
176 </mapping>
177 <mapping>
178 <id>lev3</id>
179 <input>/input/honeycomb/bravo/lever[3]</input>
180 <output>/controls/engines/engine[2]/throttle</output>
181 </mapping>
182 <mapping>
183 <id>lev4</id>
184 <input>/input/honeycomb/bravo/lever[4]</input>
185 <output>/controls/engines/engine[3]/throttle</output>
186 </mapping>
187 <mapping>
188 <id>lb1</id>
189 <input>/input/honeycomb/bravo/lever-down-button[1]</input>
190 <output>/controls/engines/engine[0]/cutoff</output>
191 </mapping>
192 <mapping>
193 <id>lb2</id>
194 <input>/input/honeycomb/bravo/lever-down-button[2]</input>
195 <output>/controls/engines/engine[1]/cutoff</output>
196 </mapping>
197 <mapping>
198 <id>lb3</id>
199 <input>/input/honeycomb/bravo/lever-down-button[3]</input>
200 <output>/controls/engines/engine[2]/cutoff</output>
201 </mapping>
202 <mapping>
203 <id>lb4</id>
204 <input>/input/honeycomb/bravo/lever-down-button[4]</input>
205 <output>/controls/engines/engine[3]/cutoff</output>
206 </mapping>
207 <mapping>
208 <id>rev1</id>
209 <input>/input/honeycomb/bravo/reverser[1]</input>
210 <output>/controls/engines/engine[0]/reverser-cmd</output>
211 </mapping>
212 <mapping>
213 <id>rev2</id>
214 <input>/input/honeycomb/bravo/reverser[2]</input>
215 <output>/controls/engines/engine[1]/reverser-cmd</output>
216 </mapping>
217 <mapping>
218 <id>rev3</id>
219 <input>/input/honeycomb/bravo/reverser[3]</input>
220 <output>/controls/engines/engine[2]/reverser-cmd</output>
221 </mapping>
222 <mapping>
223 <id>rev4</id>
224 <input>/input/honeycomb/bravo/reverser[4]</input>
225 <output>/controls/engines/engine[3]/reverser-cmd</output>
226 </mapping>
227 <mapping>
228 <id>lev5</id>
229 <input>/input/honeycomb/bravo/lever[5]</input>
230 <output>/controls/flaps-lever-continuous</output>
231 </mapping>
232 </variant>
233 <variant>
234 <id>tm</id>
235 <description>Throttle/Mixture</description>
236 <mapping>
237 <id>lev0</id>
238 <input>/input/honeycomb/bravo/lever[0]</input>
239 <output>/controls/engines/engine[0]/throttle</output>
240 </mapping>
241 <mapping>
242 <id>lev1</id>
243 <input>/input/honeycomb/bravo/lever[1]</input>
244 <output>/controls/engines/engine[0]/mixture</output>
245 </mapping>
246 </variant>
247 <variant>
248 <id>tpm</id>
249 <description>Throttle/Prop/Mixture</description>
250 <mapping>
251 <id>lev0</id>
252 <input>/input/honeycomb/bravo/lever[0]</input>
253 <output>/controls/engines/engine[0]/throttle</output>
254 </mapping>
255 <mapping>
256 <id>lev1</id>
257 <input>/input/honeycomb/bravo/lever[1]</input>
258 <output>/controls/engines/engine[0]/propeller-pitch</output>
259 </mapping>
260 <mapping>
261 <id>lev2</id>
262 <input>/input/honeycomb/bravo/lever[2]</input>
263 <output>/controls/engines/engine[0]/mixture</output>
264 </mapping>
265 </variant>
266 <variant>
267 <id>ttmm</id>
268 <description>Throttle/Mixture (two engines)</description>
269 <mapping>
270 <id>lev0</id>
271 <input>/input/honeycomb/bravo/lever[0]</input>
272 <output>/controls/engines/engine[0]/throttle</output>
273 </mapping>
274 <mapping>
275 <id>lev1</id>
276 <input>/input/honeycomb/bravo/lever[1]</input>
277 <output>/controls/engines/engine[1]/throttle</output>
278 </mapping>
279 <mapping>
280 <id>lev2</id>
281 <input>/input/honeycomb/bravo/lever[2]</input>
282 <output>/controls/engines/engine[0]/mixture</output>
283 </mapping>
284 <mapping>
285 <id>lev3</id>
286 <input>/input/honeycomb/bravo/lever[3]</input>
287 <output>/controls/engines/engine[1]/mixture</output>
288 </mapping>
289 </variant>
290 <variant>
291 <id>ttppmm</id>
292 <description>Throttle/Prop/Mixture (two engines)</description>
293 <mapping>
294 <id>lev0</id>
295 <input>/input/honeycomb/bravo/lever[0]</input>
296 <output>/controls/engines/engine[0]/throttle</output>
297 </mapping>
298 <mapping>
299 <id>lev1</id>
300 <input>/input/honeycomb/bravo/lever[1]</input>
301 <output>/controls/engines/engine[1]/throttle</output>
302 </mapping>
303 <mapping>
304 <id>lev2</id>
305 <input>/input/honeycomb/bravo/lever[2]</input>
306 <output>/controls/engines/engine[0]/propeller-pitch</output>
307 </mapping>
308 <mapping>
309 <id>lev3</id>
310 <input>/input/honeycomb/bravo/lever[3]</input>
311 <output>/controls/engines/engine[1]/propeller-pitch</output>
312 </mapping>
313 <mapping>
314 <id>lev4</id>
315 <input>/input/honeycomb/bravo/lever[4]</input>
316 <output>/controls/engines/engine[0]/mixture</output>
317 </mapping>
318 <mapping>
319 <id>lev5</id>
320 <input>/input/honeycomb/bravo/lever[5]</input>
321 <output>/controls/engines/engine[1]/mixture</output>
322 </mapping>
323 </variant>
324 </config-variants>
325 <!-- LEDs -->
326 <event>
327 <desc>LED HDG</desc>
328 <name>vendor-0</name>
329 <interval-sec>0.5</interval-sec>
330 <setting>
331 <property>/instrumentation/annunciators/autoflight/ap/mode/hdg</property>
332 </setting>
333 </event>
334 <event>
335 <desc>LED NAV</desc>
336 <name>vendor-1</name>
337 <setting>
338 <property>/instrumentation/annunciators/autoflight/ap/mode/nav</property>
339
340 </setting>
341
342 </event>
343 <event>
344 <desc>LED APR</desc>
345 <name>vendor-2</name>
346 <setting>
347 <property>/instrumentation/annunciators/autoflight/ap/mode/apr</property>
348
349 </setting>
350
351 </event>
352 <event>
353 <desc>LED REV</desc>
354 <name>vendor-3</name>
355 <setting>
356 <property>/instrumentation/annunciators/autoflight/ap/mode/rev</property>
357
358 </setting>
359
360 </event>
361 <event>
362 <desc>LED HDG</desc>
363 <name>vendor-4</name>
364 <setting>
365 <property>/instrumentation/annunciators/autoflight/ap/mode/alt</property>
366
367 </setting>
368
369 </event>
370 <event>
371 <desc>LED NAV</desc>
372 <name>vendor-5</name>
373 <setting>
374 <property>/instrumentation/annunciators/autoflight/ap/mode/vs</property>
375
376 </setting>
377
378 </event>
379 <event>
380 <desc>LED APR</desc>
381 <name>vendor-6</name>
382 <setting>
383 <property>/instrumentation/annunciators/autoflight/ap/mode/ias</property>
384
385 </setting>
386
387 </event>
388 <event>
389 <desc>LED REV</desc>
390 <name>vendor-7</name>
391 <setting>
392 <property>/instrumentation/annunciators/autoflight/ap/enabled</property>
393
394 </setting>
395
396 </event>
397
398 <event>
399 <desc>LG left green</desc>
400 <name>vendor-8</name>
401 <setting>
402 <property>/instrumentation/annunciators/gear/left/down</property>
403 </setting>
404 </event>
405 <event>
406 <desc>LG nose green</desc>
407 <name>vendor-10</name>
408 <setting>
409 <property>/instrumentation/annunciators/gear/nose/down</property>
410 </setting>
411 </event>
412 <event>
413 <desc>LG right green</desc>
414 <name>vendor-12</name>
415 <setting>
416 <property>/instrumentation/annunciators/gear/right/down</property>
417 </setting>
418 </event>
419
420 <event>
421 <desc>LG left red</desc>
422 <name>vendor-9</name>
423 <setting>
424 <property>/instrumentation/annunciators/gear/left/in-transition</property>
425 </setting>
426 </event>
427 <event>
428 <desc>LG nose red</desc>
429 <name>vendor-11</name>
430 <setting>
431 <property>/instrumentation/annunciators/gear/nose/in-transition</property>
432 </setting>
433 </event>
434 <event>
435 <desc>LG right red</desc>
436 <name>vendor-13</name>
437 <setting>
438 <property>/instrumentation/annunciators/gear/right/in-transition</property>
439 </setting>
440 </event>
441
442 <event>
443 <desc>Master Warning</desc>
444 <name>vendor-14</name>
445 <setting>
446 <property>/instrumentation/annunciators/master-warning/state</property>
447 </setting>
448 </event>
449 <event>
450 <desc>Engine fire</desc>
451 <name>vendor-15</name>
452 <setting>
453 <property>/instrumentation/annunciators/engines/fire</property>
454 </setting>
455 </event>
456 <event>
457 <desc>Low oil press</desc>
458 <name>vendor-16</name>
459 <setting>
460 <property>/instrumentation/annunciators/engines/oil-pressure-low</property>
461 </setting>
462 </event>
463 <event>
464 <desc>Low fuel press</desc>
465 <name>vendor-17</name>
466 <setting>
467 <property>/instrumentation/annunciators/systems/fuel/pressure-low</property>
468 </setting>
469 </event>
470 <event>
471 <desc>Anti-Ice </desc>
472 <name>vendor-18</name>
473 <setting>
474 <property>/instrumentation/annunciators/systems/anti-ice/enabled</property>
475 </setting>
476 </event>
477 <event>
478 <desc>Starter engaged</desc>
479 <name>vendor-19</name>
480 <setting>
481 <property>/instrumentation/annunciators/engines/starter</property>
482 </setting>
483 </event>
484 <event>
485 <desc>APU</desc>
486 <name>vendor-20</name>
487 <setting>
488 <property>/instrumentation/annunciators/engines/apu/enabled</property>
489 </setting>
490 </event>
491 <event>
492 <desc>Master Caution</desc>
493 <name>vendor-21</name>
494 <setting>
495 <property>/instrumentation/annunciators/master-caution/state</property>
496 </setting>
497 </event>
498 <event>
499 <desc>Vacuum</desc>
500 <name>vendor-22</name>
501 <setting>
502 <property>/instrumentation/annunciators/systems/vacuum</property>
503 </setting>
504 </event>
505 <event>
506 <desc>Low hyd press</desc>
507 <name>vendor-23</name>
508 <setting>
509 <property>/instrumentation/annunciators/systems/hyd/pressure-low</property>
510 </setting>
511 </event>
512 <event>
513 <desc>Aux fuel pump</desc>
514 <name>vendor-24</name>
515 <setting>
516 <property>/instrumentation/annunciators/systems/fuel/aux-pump</property>
517 </setting>
518 </event>
519 <event>
520 <desc>Parking break</desc>
521 <name>vendor-25</name>
522 <setting>
523 <property>/instrumentation/annunciators/gear/parking-brake</property>
524 </setting>
525 </event>
526 <event>
527 <desc>low volts</desc>
528 <name>vendor-26</name>
529 <setting>
530 <property>/instrumentation/annunciators/systems/electric/low-voltage</property>
531 </setting>
532 </event>
533 <event>
534 <desc>doors</desc>
535 <name>vendor-27</name>
536 <setting>
537 <property>/instrumentation/annunciators/doors</property>
538 </setting>
539 </event> <!-- end LED section-->
540 <!-- levers; LinuxEvent input has a different mapping than USB HID input -->
541 <event>
542 <desc>Lever 0</desc>
543 <name>abs-x-translate</name>
544 <min-range>-1023</min-range>
545 <max-range>1023</max-range>
546 <binding>
547 <command>property-scale</command>
548 <property>/input/honeycomb/bravo/lever[0]</property>
549 </binding>
550 </event>
551 <event>
552 <desc>Lever 1</desc>
553 <name>abs-y-translate</name>
554 <min-range>-1023</min-range>
555 <max-range>1023</max-range>
556 <binding>
557 <command>property-scale</command>
558 <property>/input/honeycomb/bravo/lever[1]/</property>
559 </binding>
560 </event>
561 <event>
562 <desc>Lever 2</desc>
563 <name>abs-x-rotate</name>
564 <min-range>-1023</min-range>
565 <max-range>1023</max-range>
566 <binding>
567 <command>property-scale</command>
568 <property>/input/honeycomb/bravo/lever[2]</property>
569 </binding>
570 </event>
571 <event>
572 <desc>Lever 3</desc>
573 <name>abs-y-rotate</name>
574 <min-range>-1023</min-range>
575 <max-range>1023</max-range>
576 <binding>
577 <command>property-scale</command>
578 <property>/input/honeycomb/bravo/lever[3]</property>
579 </binding>
580 </event>
581 <event>
582 <desc>Lever 4</desc>
583 <name>abs-z-rotate</name>
584 <min-range>-1023</min-range>
585 <max-range>1023</max-range>
586 <binding>
587 <command>property-scale</command>
588 <property>/input/honeycomb/bravo/lever[4]</property>
589 </binding>
590 </event>
591 <event>
592 <desc>Lever 5</desc>
593 <min-range>-1023</min-range>
594 <max-range>1023</max-range>
595 <name>abs-z-translate</name>
596 <binding>
597 <command>property-scale</command>
598 <property>/input/honeycomb/bravo/lever[5]</property>
599 </binding>
600 </event>
601
602 <!-- HID buttons -->
603 <event>
604 <name>button-1</name>
605 <desc>AP mode HDG</desc>
606 <repeatable>false</repeatable>
607 <binding>
608 <command>property-assign</command>
609 <property>/input/honeycomb/bravo/buttons/hdg</property>
610 <value>1</value>
611 </binding>
612 <mod-up>
613 <binding>
614 <command>property-assign</command>
615 <property>/input/honeycomb/bravo/buttons/hdg</property>
616 <value>0</value>
617 </binding>
618 </mod-up>
619 </event>
620 <event>
621 <name>button-2</name>
622 <desc>AP mode NAV</desc>
623 <repeatable>false</repeatable>
624 <binding>
625 <command>property-assign</command>
626 <property>/input/honeycomb/bravo/buttons/nav</property>
627 <value>1</value>
628 </binding>
629 <mod-up>
630 <binding>
631 <command>property-assign</command>
632 <property>/input/honeycomb/bravo/buttons/nav</property>
633 <value>0</value>
634 </binding>
635 </mod-up>
636 </event>
637 <event>
638 <name>button-3</name>
639 <desc>AP mode approach</desc>
640 <repeatable>false</repeatable>
641 <binding>
642 <command>property-assign</command>
643 <property>/input/honeycomb/bravo/buttons/apr</property>
644 <value>1</value>
645 </binding>
646 <mod-up>
647 <binding>
648 <command>property-assign</command>
649 <property>/input/honeycomb/bravo/buttons/apr</property>
650 <value>0</value>
651 </binding>
652 </mod-up>
653 </event>
654 <event>
655 <name>button-4</name>
656 <desc>AP mode rev</desc>
657 <repeatable>false</repeatable>
658 <binding>
659 <command>property-assign</command>
660 <property>/input/honeycomb/bravo/buttons/rev</property>
661 <value>1</value>
662 </binding>
663 <mod-up>
664 <binding>
665 <command>property-assign</command>
666 <property>/input/honeycomb/bravo/buttons/rev</property>
667 <value>0</value>
668 </binding>
669 </mod-up>
670 </event>
671 <event>
672 <name>button-5</name>
673 <desc>AP mode alt</desc>
674 <repeatable>false</repeatable>
675 <binding>
676 <command>property-assign</command>
677 <property>/input/honeycomb/bravo/buttons/alt</property>
678 <value>1</value>
679 </binding>
680 <mod-up>
681 <binding>
682 <command>property-assign</command>
683 <property>/input/honeycomb/bravo/buttons/alt</property>
684 <value>0</value>
685 </binding>
686 </mod-up>
687 </event>
688 <event>
689 <name>button-6</name>
690 <desc>AP mode VS</desc>
691 <repeatable>false</repeatable>
692 <binding>
693 <command>property-assign</command>
694 <property>/input/honeycomb/bravo/buttons/vs</property>
695 <value>1</value>
696 </binding>
697 <mod-up>
698 <binding>
699 <command>property-assign</command>
700 <property>/input/honeycomb/bravo/buttons/vs</property>
701 <value>0</value>
702 </binding>
703 </mod-up>
704 </event>
705 <event>
706 <name>button-7</name>
707 <desc>AP mode speed (IAS)</desc>
708 <repeatable>false</repeatable>
709 <binding>
710 <command>property-assign</command>
711 <property>/input/honeycomb/bravo/buttons/ias</property>
712 <value>1</value>
713 </binding>
714 <mod-up>
715 <binding>
716 <command>property-assign</command>
717 <property>/input/honeycomb/bravo/buttons/ias</property>
718 <value>0</value>
719 </binding>
720 </mod-up>
721 </event>
722 <event>
723 <name>button-8</name>
724 <desc>AP enabled</desc>
725 <repeatable>false</repeatable>
726 <binding>
727 <command>property-assign</command>
728 <property>/input/honeycomb/bravo/buttons/autopilot</property>
729 <value>1</value>
730 </binding>
731 <mod-up>
732 <binding>
733 <command>property-assign</command>
734 <property>/input/honeycomb/bravo/buttons/autopilot</property>
735 <value>0</value>
736 </binding>
737 </mod-up>
738 </event>
739
740 <event>
741 <name>button-9</name>
742 <desc>Reverser 1</desc>
743 <repeatable>false</repeatable>
744 <binding>
745 <command>property-assign</command>
746 <property>/input/honeycomb/bravo/buttons/reverser[1]</property>
747 <value>1</value>
748 </binding>
749 <mod-up>
750 <binding>
751 <command>property-assign</command>
752 <property>/input/honeycomb/bravo/buttons/reverser[1]</property>
753 <value>0</value>
754 </binding>
755 </mod-up>
756 </event>
757 <event>
758 <name>button-10</name>
759 <desc>Reverser 2</desc>
760 <repeatable>false</repeatable>
761 <binding>
762 <command>property-assign</command>
763 <property>/input/honeycomb/bravo/buttons/reverser[2]</property>
764 <value>1</value>
765 </binding>
766 <mod-up>
767 <binding>
768 <command>property-assign</command>
769 <property>/input/honeycomb/bravo/buttons/reverser[2]</property>
770 <value>0</value>
771 </binding>
772 </mod-up>
773 </event>
774 <event>
775 <name>button-11</name>
776 <desc>Reverser 3</desc>
777 <repeatable>false</repeatable>
778 <binding>
779 <command>property-assign</command>
780 <property>/input/honeycomb/bravo/buttons/reverser[3]</property>
781 <value>1</value>
782 </binding>
783 <mod-up>
784 <binding>
785 <command>property-assign</command>
786 <property>/input/honeycomb/bravo/buttons/reverser[3]</property>
787 <value>0</value>
788 </binding>
789 </mod-up>
790 </event>
791 <event>
792 <name>button-12</name>
793 <desc>Reverser 4</desc>
794 <repeatable>false</repeatable>
795 <binding>
796 <command>property-assign</command>
797 <property>/input/honeycomb/bravo/buttons/reverser[4]</property>
798 <value>1</value>
799 </binding>
800 <mod-up>
801 <binding>
802 <command>property-assign</command>
803 <property>/input/honeycomb/bravo/buttons/reverser[4]</property>
804 <value>0</value>
805 </binding>
806 </mod-up>
807 </event>
808
809 <event>
810 <name>button-13</name>
811 <desc>Increase setting</desc>
812 <repeatable>false</repeatable>
813 <binding>
814 <command>nasal</command>
815 <script>bravo.incAPSetting();</script>
816 </binding>
817 </event>
818 <event>
819 <name>button-14</name>
820 <desc>Decrease setting</desc>
821 <repeatable>false</repeatable>
822 <binding>
823 <command>nasal</command>
824 <script>bravo.decAPSetting();</script>
825 </binding>
826 </event>
827
828 <event>
829 <name>button-15</name>
830 <desc>Flaps down</desc>
831 <repeatable>false</repeatable>
832 <binding>
833 <command>nasal</command>
834 <script>controls.flapsDown(1);</script>
835 </binding>
836 </event>
837 <event>
838 <name>button-16</name>
839 <desc>Flaps up</desc>
840 <repeatable>false</repeatable>
841 <binding>
842 <command>nasal</command>
843 <script>controls.flapsDown(-1);</script>
844 </binding>
845 </event>
846 <!-- AP settings selector -->
847 <event>
848 <name>button-17</name>
849 <desc>Selector IAS</desc>
850 <repeatable>false</repeatable>
851 <binding>
852 <command>nasal</command>
853 <script>bravo.setIncDecSelector("ias");</script>
854 </binding>
855 </event>
856 <event>
857 <name>button-18</name>
858 <desc>Selector CRS</desc>
859 <repeatable>false</repeatable>
860 <binding>
861 <command>nasal</command>
862 <script>bravo.setIncDecSelector("crs");</script>
863 </binding>
864 </event>
865 <event>
866 <name>button-19</name>
867 <desc>Selector HDG</desc>
868 <repeatable>false</repeatable>
869 <binding>
870 <command>nasal</command>
871 <script>bravo.setIncDecSelector("hdg");</script>
872 </binding>
873 </event>
874 <event>
875 <name>button-20</name>
876 <desc>Selector VS</desc>
877 <repeatable>false</repeatable>
878 <binding>
879 <command>nasal</command>
880 <script>bravo.setIncDecSelector("vs");</script>
881 </binding>
882 </event>
883 <event>
884 <name>button-21</name>
885 <desc>Selector ALT</desc>
886 <repeatable>false</repeatable>
887 <binding>
888 <command>nasal</command>
889 <script>bravo.setIncDecSelector("alt");</script>
890 </binding>
891 </event>
892 <!-- trim -->
893 <event>
894 <name>button-22</name>
895 <desc>Trim down</desc>
896 <repeatable>true</repeatable>
897 <binding>
898 <command>nasal</command>
899 <script>controls.elevatorTrim(1);</script>
900 </binding>
901 </event>
902 <event>
903 <name>button-23</name>
904 <desc>Trim up</desc>
905 <repeatable>true</repeatable>
906 <binding>
907 <command>nasal</command>
908 <script>controls.elevatorTrim(-1);</script>
909 </binding>
910 </event>
911
912 <event>
913 <name>button-24</name>
914 <desc>Lever0-down-button</desc>
915 <repeatable>false</repeatable>
916 <binding>
917 <command>property-assign</command>
918 <property>/input/honeycomb/bravo/lever-down-button[0]</property>
919 <value>1</value>
920 </binding>
921 <mod-up>
922 <binding>
923 <command>property-assign</command>
924 <property>/input/honeycomb/bravo/lever-down-button[0]</property>
925 <value>0</value>
926 </binding>
927 </mod-up>
928 </event>
929 <event>
930 <name>button-25</name>
931 <desc>Lever1-down-button</desc>
932 <repeatable>false</repeatable>
933 <binding>
934 <command>property-assign</command>
935 <property>/input/honeycomb/bravo/lever-down-button[1]</property>
936 <value>1</value>
937 </binding>
938 <mod-up>
939 <binding>
940 <command>property-assign</command>
941 <property>/input/honeycomb/bravo/lever-down-button[10]</property>
942 <value>0</value>
943 </binding>
944 </mod-up>
945 </event>
946 <event>
947 <name>button-26</name>
948 <desc>Lever2-down-button</desc>
949 <repeatable>false</repeatable>
950 <binding>
951 <command>property-assign</command>
952 <property>/input/honeycomb/bravo/lever-down-button[2]</property>
953 <value>1</value>
954 </binding>
955 <mod-up>
956 <binding>
957 <command>property-assign</command>
958 <property>/input/honeycomb/bravo/lever-down-button[2]</property>
959 <value>0</value>
960 </binding>
961 </mod-up>
962 </event>
963 <event>
964 <name>button-27</name>
965 <desc>Lever3-down-button</desc>
966 <repeatable>false</repeatable>
967 <binding>
968 <command>property-assign</command>
969 <property>/input/honeycomb/bravo/lever-down-button[3]</property>
970 <value>1</value>
971 </binding>
972 <mod-up>
973 <binding>
974 <command>property-assign</command>
975 <property>/input/honeycomb/bravo/lever-down-button[3]</property>
976 <value>0</value>
977 </binding>
978 </mod-up>
979 </event>
980 <event>
981 <name>button-28</name>
982 <desc>Lever4-down-button</desc>
983 <repeatable>false</repeatable>
984 <binding>
985 <command>property-assign</command>
986 <property>/input/honeycomb/bravo/lever-down-button[4]</property>
987 <value>1</value>
988 </binding>
989 <mod-up>
990 <binding>
991 <command>property-assign</command>
992 <property>/input/honeycomb/bravo/lever-down-button[4]</property>
993 <value>0</value>
994 </binding>
995 </mod-up>
996 </event>
997
998 <event>
999 <name>button-29</name>
1000 <desc>TOGA 1/2</desc>
1001 <repeatable>false</repeatable>
1002 <binding>
1003 <command>property-assign</command>
1004 <property>/input/honeycomb/bravo/buttons/toga</property>
1005 <value>1</value>
1006 </binding>
1007 <mod-up>
1008 <binding>
1009 <command>property-assign</command>
1010 <property>/input/honeycomb/bravo/buttons/toga</property>
1011 <value>0</value>
1012 </binding>
1013 </mod-up>
1014 </event>
1015 <event>
1016 <name>button-30</name>
1017 <desc>TOGA 3</desc>
1018 <repeatable>false</repeatable>
1019 <binding>
1020 <command>property-assign</command>
1021 <property>/input/honeycomb/bravo/buttons/toga</property>
1022 <value>1</value>
1023 </binding>
1024 <mod-up>
1025 <binding>
1026 <command>property-assign</command>
1027 <property>/input/honeycomb/bravo/buttons/toga</property>
1028 <value>0</value>
1029 </binding>
1030 </mod-up>
1031 </event>
1032 <!-- gear lever -->
1033 <event>
1034 <name>button-31</name>
1035 <desc>Gear UP</desc>
1036 <repeatable>false</repeatable>
1037 <binding>
1038 <command>property-assign</command>
1039 <property>/input/honeycomb/bravo/gear-lever-up</property>
1040 <value>1</value>
1041 </binding>
1042 <mod-up>
1043 <binding>
1044 <command>property-assign</command>
1045 <property>/input/honeycomb/bravo/gear-lever-up</property>
1046 <value>0</value>
1047 </binding>
1048 </mod-up>
1049 <binding>
1050 <command>nasal</command>
1051 <script>controls.gearDown(-1);</script>
1052 </binding>
1053 </event>
1054 <event>
1055 <name>button-32</name>
1056 <desc>Gear DOWN</desc>
1057 <repeatable>false</repeatable>
1058 <binding>
1059 <command>property-assign</command>
1060 <property>/input/honeycomb/bravo/gear-lever-down</property>
1061 <value>1</value>
1062 </binding>
1063 <mod-up>
1064 <binding>
1065 <command>property-assign</command>
1066 <property>/input/honeycomb/bravo/gear-lever-down</property>
1067 <value>0</value>
1068 </binding>
1069 </mod-up>
1070 <binding>
1071 <command>nasal</command>
1072 <script>controls.gearDown(1);</script>
1073 </binding>
1074 </event>
1075
1076 <event>
1077 <name>button-33</name>
1078 <desc>Lever5-down-button</desc>
1079 <repeatable>false</repeatable>
1080 <binding>
1081 <command>property-assign</command>
1082 <property>/input/honeycomb/bravo/lever-down-button[5]</property>
1083 <value>1</value>
1084 </binding>
1085 <mod-up>
1086 <binding>
1087 <command>property-assign</command>
1088 <property>/input/honeycomb/bravo/lever-down-button[5]</property>
1089 <value>0</value>
1090 </binding>
1091 </mod-up>
1092 </event>
1093
1094 <event>
1095 <name>button-34</name>
1096 <desc>Switch 1 up</desc>
1097 <repeatable>false</repeatable>
1098 <binding>
1099 <command>property-assign</command>
1100 <property>/input/honeycomb/bravo/switches/s[1]</property>
1101 <value>1</value>
1102 </binding>
1103 </event>
1104 <event>
1105 <name>button-35</name>
1106 <desc>Switch 1 down</desc>
1107 <repeatable>false</repeatable>
1108 <binding>
1109 <command>property-assign</command>
1110 <property>/input/honeycomb/bravo/switches/s[1]</property>
1111 <value>0</value>
1112 </binding>
1113 </event>
1114
1115 <event>
1116 <name>button-36</name>
1117 <desc>Switch 2 up</desc>
1118 <repeatable>false</repeatable>
1119 <binding>
1120 <command>property-assign</command>
1121 <property>/input/honeycomb/bravo/switches/s[2]</property>
1122 <value>1</value>
1123 </binding>
1124 </event>
1125 <event>
1126 <name>button-37</name>
1127 <desc>Switch 2 down</desc>
1128 <repeatable>false</repeatable>
1129 <binding>
1130 <command>property-assign</command>
1131 <property>/input/honeycomb/bravo/switches/s[2]</property>
1132 <value>0</value>
1133 </binding>
1134 </event>
1135
1136 <event>
1137 <name>button-38</name>
1138 <desc>Switch 3 up</desc>
1139 <repeatable>false</repeatable>
1140 <binding>
1141 <command>property-assign</command>
1142 <property>/input/honeycomb/bravo/switches/s[3]</property>
1143 <value>1</value>
1144 </binding>
1145 </event>
1146 <event>
1147 <name>button-39</name>
1148 <desc>Switch 3 down</desc>
1149 <repeatable>false</repeatable>
1150 <binding>
1151 <command>property-assign</command>
1152 <property>/input/honeycomb/bravo/switches/s[3]</property>
1153 <value>0</value>
1154 </binding>
1155 </event>
1156
1157 <event>
1158 <name>button-40</name>
1159 <desc>Switch 4 up</desc>
1160 <repeatable>false</repeatable>
1161 <binding>
1162 <command>property-assign</command>
1163 <property>/input/honeycomb/bravo/switches/s[4]</property>
1164 <value>1</value>
1165 </binding>
1166 </event>
1167 <event>
1168 <name>button-41</name>
1169 <desc>Switch 4 down</desc>
1170 <repeatable>false</repeatable>
1171 <binding>
1172 <command>property-assign</command>
1173 <property>/input/honeycomb/bravo/switches/s[4]</property>
1174 <value>0</value>
1175 </binding>
1176 </event>
1177
1178 <event>
1179 <name>button-42</name>
1180 <desc>Switch 5 up</desc>
1181 <repeatable>false</repeatable>
1182 <binding>
1183 <command>property-assign</command>
1184 <property>/input/honeycomb/bravo/switches/s[5]</property>
1185 <value>1</value>
1186 </binding>
1187 </event>
1188 <event>
1189 <name>button-43</name>
1190 <desc>Switch 5 down</desc>
1191 <repeatable>false</repeatable>
1192 <binding>
1193 <command>property-assign</command>
1194 <property>/input/honeycomb/bravo/switches/s[5]</property>
1195 <value>0</value>
1196 </binding>
1197 </event>
1198
1199 <event>
1200 <name>button-44</name>
1201 <desc>Switch 6 up</desc>
1202 <repeatable>false</repeatable>
1203 <binding>
1204 <command>property-assign</command>
1205 <property>/input/honeycomb/bravo/switches/s[6]</property>
1206 <value>1</value>
1207 </binding>
1208 </event>
1209 <event>
1210 <name>button-45</name>
1211 <desc>Switch 6 down</desc>
1212 <repeatable>false</repeatable>
1213 <binding>
1214 <command>property-assign</command>
1215 <property>/input/honeycomb/bravo/switches/s[6]</property>
1216 <value>0</value>
1217 </binding>
1218 </event>
1219
1220 <event>
1221 <name>button-46</name>
1222 <desc>Switch 7 up</desc>
1223 <repeatable>false</repeatable>
1224 <binding>
1225 <command>property-assign</command>
1226 <property>/input/honeycomb/bravo/switches/s[7]</property>
1227 <value>1</value>
1228 </binding>
1229 </event>
1230 <event>
1231 <name>button-47</name>
1232 <desc>Switch 7 down</desc>
1233 <repeatable>false</repeatable>
1234 <binding>
1235 <command>property-assign</command>
1236 <property>/input/honeycomb/bravo/switches/s[7]</property>
1237 <value>0</value>
1238 </binding>
1239 </event>
1240
1241 <event>
1242 <name>button-48</name>
1243 <desc>TOGA on handle 4</desc>
1244 <repeatable>false</repeatable>
1245 <binding>
1246 <command>property-assign</command>
1247 <property>/input/honeycomb/bravo/buttons/toga</property>
1248 <value>1</value>
1249 </binding>
1250 <mod-up>
1251 <binding>
1252 <command>property-assign</command>
1253 <property>/input/honeycomb/bravo/buttons/toga</property>
1254 <value>0</value>
1255 </binding>
1256 </mod-up>
1257 </event>
1258 </PropertyList>