Debian Codegraph @

Input/HID/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 <condition>
333 <value>1</value>
334 </condition>
335 </setting>
336 </event>
337 <event>
338 <desc>LED NAV</desc>
339 <name>vendor-1</name>
340 <setting>
341 <property>/instrumentation/annunciators/autoflight/ap/mode/nav</property>
342 <condition>
343 <value>1</value>
344 </condition>
345 </setting>
346 </event>
347 <event>
348 <desc>LED APR</desc>
349 <name>vendor-2</name>
350 <setting>
351 <property>/instrumentation/annunciators/autoflight/ap/mode/apr</property>
352 <condition>
353 <value>1</value>
354 </condition>
355 </setting>
356 </event>
357 <event>
358 <desc>LED REV</desc>
359 <name>vendor-3</name>
360 <setting>
361 <property>/instrumentation/annunciators/autoflight/ap/mode/rev</property>
362 <condition>
363 <value>1</value>
364 </condition>
365 </setting>
366 </event>
367 <event>
368 <desc>LED HDG</desc>
369 <name>vendor-4</name>
370 <setting>
371 <property>/instrumentation/annunciators/autoflight/ap/mode/alt</property>
372 <condition>
373 <value>1</value>
374 </condition>
375 </setting>
376 </event>
377 <event>
378 <desc>LED NAV</desc>
379 <name>vendor-5</name>
380 <setting>
381 <property>/instrumentation/annunciators/autoflight/ap/mode/vs</property>
382 <condition>
383 <value>1</value>
384 </condition>
385 </setting>
386 </event>
387 <event>
388 <desc>LED APR</desc>
389 <name>vendor-6</name>
390 <setting>
391 <property>/instrumentation/annunciators/autoflight/ap/mode/ias</property>
392 <condition>
393 <value>1</value>
394 </condition>
395 </setting>
396 </event>
397 <event>
398 <desc>LED REV</desc>
399 <name>vendor-7</name>
400 <setting>
401 <property>/instrumentation/annunciators/autoflight/ap/enabled</property>
402 <condition>
403 <value>1</value>
404 </condition>
405 </setting>
406 </event>
407
408 <event>
409 <desc>LG left green</desc>
410 <name>vendor-8</name>
411 <setting>
412 <property>/instrumentation/annunciators/gear/left/down</property>
413 <condition>
414 <value>1</value>
415 </condition>
416 </setting>
417 </event>
418 <event>
419 <desc>LG nose green</desc>
420 <name>vendor-10</name>
421 <setting>
422 <property>/instrumentation/annunciators/gear/nose/down</property>
423 <condition>
424 <value>1</value>
425 </condition>
426 </setting>
427 </event>
428 <event>
429 <desc>LG right green</desc>
430 <name>vendor-12</name>
431 <setting>
432 <property>/instrumentation/annunciators/gear/right/down</property>
433 <condition>
434 <value>1</value>
435 </condition>
436 </setting>
437 </event>
438
439 <event>
440 <desc>LG left red</desc>
441 <name>vendor-9</name>
442 <setting>
443 <property>/instrumentation/annunciators/gear/left/in-transition</property>
444 <condition>
445 <value>1</value>
446 </condition>
447 </setting>
448 </event>
449 <event>
450 <desc>LG nose red</desc>
451 <name>vendor-11</name>
452 <setting>
453 <property>/instrumentation/annunciators/gear/nose/in-transition</property>
454 <condition>
455 <value>1</value>
456 </condition>
457 </setting>
458 </event>
459 <event>
460 <desc>LG right red</desc>
461 <name>vendor-13</name>
462 <setting>
463 <property>/instrumentation/annunciators/gear/right/in-transition</property>
464 <condition>
465 <value>1</value>
466 </condition>
467 </setting>
468 </event>
469
470 <event>
471 <desc>Master Warning</desc>
472 <name>vendor-14</name>
473 <setting>
474 <property>/instrumentation/annunciators/master-warning/state</property>
475 <condition>
476 <value>1</value>
477 </condition>
478 </setting>
479 </event>
480 <event>
481 <desc>Engine fire</desc>
482 <name>vendor-15</name>
483 <setting>
484 <property>/instrumentation/annunciators/engines/fire</property>
485 <condition>
486 <value>1</value>
487 </condition>
488 </setting>
489 </event>
490 <event>
491 <desc>Low oil press</desc>
492 <name>vendor-16</name>
493 <setting>
494 <property>/instrumentation/annunciators/engines/oil-pressure-low</property>
495 <condition>
496 <value>1</value>
497 </condition>
498 </setting>
499 </event>
500 <event>
501 <desc>Low fuel press</desc>
502 <name>vendor-17</name>
503 <setting>
504 <property>/instrumentation/annunciators/systems/fuel/pressure-low</property>
505 <condition>
506 <value>1</value>
507 </condition>
508 </setting>
509 </event>
510 <event>
511 <desc>Anti-Ice </desc>
512 <name>vendor-18</name>
513 <setting>
514 <property>/instrumentation/annunciators/systems/anti-ice/enabled</property>
515 <condition>
516 <value>1</value>
517 </condition>
518 </setting>
519 </event>
520 <event>
521 <desc>Starter engaged</desc>
522 <name>vendor-19</name>
523 <setting>
524 <property>/instrumentation/annunciators/engines/starter</property>
525 <condition>
526 <value>1</value>
527 </condition>
528 </setting>
529 </event>
530 <event>
531 <desc>APU</desc>
532 <name>vendor-20</name>
533 <setting>
534 <property>/instrumentation/annunciators/engines/apu/enabled</property>
535 <condition>
536 <value>1</value>
537 </condition>
538 </setting>
539 </event>
540 <event>
541 <desc>Master Caution</desc>
542 <name>vendor-21</name>
543 <setting>
544 <property>/instrumentation/annunciators/master-caution/state</property>
545 <condition>
546 <value>1</value>
547 </condition>
548 </setting>
549 </event>
550 <event>
551 <desc>Vacuum</desc>
552 <name>vendor-22</name>
553 <setting>
554 <property>/instrumentation/annunciators/systems/vacuum</property>
555 <condition>
556 <value>1</value>
557 </condition>
558 </setting>
559 </event>
560 <event>
561 <desc>Low hyd press</desc>
562 <name>vendor-23</name>
563 <setting>
564 <property>/instrumentation/annunciators/systems/hyd/pressure-low</property>
565 <condition>
566 <value>1</value>
567 </condition>
568 </setting>
569 </event>
570 <event>
571 <desc>Aux fuel pump</desc>
572 <name>vendor-24</name>
573 <setting>
574 <property>/instrumentation/annunciators/systems/fuel/aux-pump</property>
575 <condition>
576 <value>1</value>
577 </condition>
578 </setting>
579 </event>
580 <event>
581 <desc>Parking break</desc>
582 <name>vendor-25</name>
583 <setting>
584 <property>/instrumentation/annunciators/gear/parking-brake</property>
585 <condition>
586 <value>1</value>
587 </condition>
588 </setting>
589 </event>
590 <event>
591 <desc>low volts</desc>
592 <name>vendor-26</name>
593 <setting>
594 <property>/instrumentation/annunciators/systems/electric/low-voltage</property>
595 <condition>
596 <value>1</value>
597 </condition>
598 </setting>
599 </event>
600 <event>
601 <desc>doors</desc>
602 <name>vendor-27</name>
603 <setting>
604 <property>/instrumentation/annunciators/doors</property>
605 <condition>
606 <value>1</value>
607 </condition>
608 </setting>
609 </event> <!-- end LED section-->
610 <!-- levers; LinuxEvent input has a different mapping than USB HID input -->
611 <event>
612 <desc>Lever 0</desc>
613 <name>abs-x-translate</name>
614 <min-range>-1023</min-range>
615 <max-range>1023</max-range>
616 <binding>
617 <command>property-scale</command>
618 <property>/input/honeycomb/bravo/lever[0]</property>
619 </binding>
620 </event>
621 <event>
622 <desc>Lever 1</desc>
623 <name>abs-y-translate</name>
624 <min-range>-1023</min-range>
625 <max-range>1023</max-range>
626 <binding>
627 <command>property-scale</command>
628 <property>/input/honeycomb/bravo/lever[1]/</property>
629 </binding>
630 </event>
631 <event>
632 <desc>Lever 2</desc>
633 <name>abs-x-rotate</name>
634 <min-range>-1023</min-range>
635 <max-range>1023</max-range>
636 <binding>
637 <command>property-scale</command>
638 <property>/input/honeycomb/bravo/lever[2]</property>
639 </binding>
640 </event>
641 <event>
642 <desc>Lever 3</desc>
643 <name>abs-y-rotate</name>
644 <min-range>-1023</min-range>
645 <max-range>1023</max-range>
646 <binding>
647 <command>property-scale</command>
648 <property>/input/honeycomb/bravo/lever[3]</property>
649 </binding>
650 </event>
651 <event>
652 <desc>Lever 4</desc>
653 <name>abs-z-rotate</name>
654 <min-range>-1023</min-range>
655 <max-range>1023</max-range>
656 <binding>
657 <command>property-scale</command>
658 <property>/input/honeycomb/bravo/lever[4]</property>
659 </binding>
660 </event>
661 <event>
662 <desc>Lever 5</desc>
663 <min-range>-1023</min-range>
664 <max-range>1023</max-range>
665 <name>abs-z-translate</name>
666 <binding>
667 <command>property-scale</command>
668 <property>/input/honeycomb/bravo/lever[5]</property>
669 </binding>
670 </event>
671
672 <!-- HID buttons -->
673 <event>
674 <name>button-1</name>
675 <desc>AP mode HDG</desc>
676 <repeatable>false</repeatable>
677 <binding>
678 <command>property-assign</command>
679 <property>/input/honeycomb/bravo/buttons/hdg</property>
680 <value>1</value>
681 </binding>
682 <mod-up>
683 <binding>
684 <command>property-assign</command>
685 <property>/input/honeycomb/bravo/buttons/hdg</property>
686 <value>0</value>
687 </binding>
688 </mod-up>
689 </event>
690 <event>
691 <name>button-2</name>
692 <desc>AP mode NAV</desc>
693 <repeatable>false</repeatable>
694 <binding>
695 <command>property-assign</command>
696 <property>/input/honeycomb/bravo/buttons/nav</property>
697 <value>1</value>
698 </binding>
699 <mod-up>
700 <binding>
701 <command>property-assign</command>
702 <property>/input/honeycomb/bravo/buttons/nav</property>
703 <value>0</value>
704 </binding>
705 </mod-up>
706 </event>
707 <event>
708 <name>button-3</name>
709 <desc>AP mode approach</desc>
710 <repeatable>false</repeatable>
711 <binding>
712 <command>property-assign</command>
713 <property>/input/honeycomb/bravo/buttons/apr</property>
714 <value>1</value>
715 </binding>
716 <mod-up>
717 <binding>
718 <command>property-assign</command>
719 <property>/input/honeycomb/bravo/buttons/apr</property>
720 <value>0</value>
721 </binding>
722 </mod-up>
723 </event>
724 <event>
725 <name>button-4</name>
726 <desc>AP mode rev</desc>
727 <repeatable>false</repeatable>
728 <binding>
729 <command>property-assign</command>
730 <property>/input/honeycomb/bravo/buttons/rev</property>
731 <value>1</value>
732 </binding>
733 <mod-up>
734 <binding>
735 <command>property-assign</command>
736 <property>/input/honeycomb/bravo/buttons/rev</property>
737 <value>0</value>
738 </binding>
739 </mod-up>
740 </event>
741 <event>
742 <name>button-5</name>
743 <desc>AP mode alt</desc>
744 <repeatable>false</repeatable>
745 <binding>
746 <command>property-assign</command>
747 <property>/input/honeycomb/bravo/buttons/alt</property>
748 <value>1</value>
749 </binding>
750 <mod-up>
751 <binding>
752 <command>property-assign</command>
753 <property>/input/honeycomb/bravo/buttons/alt</property>
754 <value>0</value>
755 </binding>
756 </mod-up>
757 </event>
758 <event>
759 <name>button-6</name>
760 <desc>AP mode VS</desc>
761 <repeatable>false</repeatable>
762 <binding>
763 <command>property-assign</command>
764 <property>/input/honeycomb/bravo/buttons/vs</property>
765 <value>1</value>
766 </binding>
767 <mod-up>
768 <binding>
769 <command>property-assign</command>
770 <property>/input/honeycomb/bravo/buttons/vs</property>
771 <value>0</value>
772 </binding>
773 </mod-up>
774 </event>
775 <event>
776 <name>button-7</name>
777 <desc>AP mode speed (IAS)</desc>
778 <repeatable>false</repeatable>
779 <binding>
780 <command>property-assign</command>
781 <property>/input/honeycomb/bravo/buttons/ias</property>
782 <value>1</value>
783 </binding>
784 <mod-up>
785 <binding>
786 <command>property-assign</command>
787 <property>/input/honeycomb/bravo/buttons/ias</property>
788 <value>0</value>
789 </binding>
790 </mod-up>
791 </event>
792 <event>
793 <name>button-8</name>
794 <desc>AP enabled</desc>
795 <repeatable>false</repeatable>
796 <binding>
797 <command>property-assign</command>
798 <property>/input/honeycomb/bravo/buttons/autopilot</property>
799 <value>1</value>
800 </binding>
801 <mod-up>
802 <binding>
803 <command>property-assign</command>
804 <property>/input/honeycomb/bravo/buttons/autopilot</property>
805 <value>0</value>
806 </binding>
807 </mod-up>
808 </event>
809
810 <event>
811 <name>button-9</name>
812 <desc>Reverser 1</desc>
813 <repeatable>false</repeatable>
814 <binding>
815 <command>property-assign</command>
816 <property>/input/honeycomb/bravo/buttons/reverser[1]</property>
817 <value>1</value>
818 </binding>
819 <mod-up>
820 <binding>
821 <command>property-assign</command>
822 <property>/input/honeycomb/bravo/buttons/reverser[1]</property>
823 <value>0</value>
824 </binding>
825 </mod-up>
826 </event>
827 <event>
828 <name>button-10</name>
829 <desc>Reverser 2</desc>
830 <repeatable>false</repeatable>
831 <binding>
832 <command>property-assign</command>
833 <property>/input/honeycomb/bravo/buttons/reverser[2]</property>
834 <value>1</value>
835 </binding>
836 <mod-up>
837 <binding>
838 <command>property-assign</command>
839 <property>/input/honeycomb/bravo/buttons/reverser[2]</property>
840 <value>0</value>
841 </binding>
842 </mod-up>
843 </event>
844 <event>
845 <name>button-11</name>
846 <desc>Reverser 3</desc>
847 <repeatable>false</repeatable>
848 <binding>
849 <command>property-assign</command>
850 <property>/input/honeycomb/bravo/buttons/reverser[3]</property>
851 <value>1</value>
852 </binding>
853 <mod-up>
854 <binding>
855 <command>property-assign</command>
856 <property>/input/honeycomb/bravo/buttons/reverser[3]</property>
857 <value>0</value>
858 </binding>
859 </mod-up>
860 </event>
861 <event>
862 <name>button-12</name>
863 <desc>Reverser 4</desc>
864 <repeatable>false</repeatable>
865 <binding>
866 <command>property-assign</command>
867 <property>/input/honeycomb/bravo/buttons/reverser[4]</property>
868 <value>1</value>
869 </binding>
870 <mod-up>
871 <binding>
872 <command>property-assign</command>
873 <property>/input/honeycomb/bravo/buttons/reverser[4]</property>
874 <value>0</value>
875 </binding>
876 </mod-up>
877 </event>
878
879 <event>
880 <name>button-13</name>
881 <desc>Increase setting</desc>
882 <repeatable>false</repeatable>
883 <binding>
884 <command>nasal</command>
885 <script>bravo.incAPSetting();</script>
886 </binding>
887 </event>
888 <event>
889 <name>button-14</name>
890 <desc>Decrease setting</desc>
891 <repeatable>false</repeatable>
892 <binding>
893 <command>nasal</command>
894 <script>bravo.decAPSetting();</script>
895 </binding>
896 </event>
897
898 <event>
899 <name>button-15</name>
900 <desc>Flaps down</desc>
901 <repeatable>false</repeatable>
902 <binding>
903 <command>nasal</command>
904 <script>controls.flapsDown(1);</script>
905 </binding>
906 </event>
907 <event>
908 <name>button-16</name>
909 <desc>Flaps up</desc>
910 <repeatable>false</repeatable>
911 <binding>
912 <command>nasal</command>
913 <script>controls.flapsDown(-1);</script>
914 </binding>
915 </event>
916 <!-- AP settings selector -->
917 <event>
918 <name>button-17</name>
919 <desc>Selector IAS</desc>
920 <repeatable>false</repeatable>
921 <binding>
922 <command>nasal</command>
923 <script>bravo.setIncDecSelector("ias");</script>
924 </binding>
925 </event>
926 <event>
927 <name>button-18</name>
928 <desc>Selector CRS</desc>
929 <repeatable>false</repeatable>
930 <binding>
931 <command>nasal</command>
932 <script>bravo.setIncDecSelector("crs");</script>
933 </binding>
934 </event>
935 <event>
936 <name>button-19</name>
937 <desc>Selector HDG</desc>
938 <repeatable>false</repeatable>
939 <binding>
940 <command>nasal</command>
941 <script>bravo.setIncDecSelector("hdg");</script>
942 </binding>
943 </event>
944 <event>
945 <name>button-20</name>
946 <desc>Selector VS</desc>
947 <repeatable>false</repeatable>
948 <binding>
949 <command>nasal</command>
950 <script>bravo.setIncDecSelector("vs");</script>
951 </binding>
952 </event>
953 <event>
954 <name>button-21</name>
955 <desc>Selector ALT</desc>
956 <repeatable>false</repeatable>
957 <binding>
958 <command>nasal</command>
959 <script>bravo.setIncDecSelector("alt");</script>
960 </binding>
961 </event>
962 <!-- trim -->
963 <event>
964 <name>button-22</name>
965 <desc>Trim down</desc>
966 <repeatable>true</repeatable>
967 <binding>
968 <command>nasal</command>
969 <script>controls.elevatorTrim(1);</script>
970 </binding>
971 </event>
972 <event>
973 <name>button-23</name>
974 <desc>Trim up</desc>
975 <repeatable>true</repeatable>
976 <binding>
977 <command>nasal</command>
978 <script>controls.elevatorTrim(-1);</script>
979 </binding>
980 </event>
981
982 <event>
983 <name>button-24</name>
984 <desc>Lever0-down-button</desc>
985 <repeatable>false</repeatable>
986 <binding>
987 <command>property-assign</command>
988 <property>/input/honeycomb/bravo/lever-down-button[0]</property>
989 <value>1</value>
990 </binding>
991 <mod-up>
992 <binding>
993 <command>property-assign</command>
994 <property>/input/honeycomb/bravo/lever-down-button[0]</property>
995 <value>0</value>
996 </binding>
997 </mod-up>
998 </event>
999 <event>
1000 <name>button-25</name>
1001 <desc>Lever1-down-button</desc>
1002 <repeatable>false</repeatable>
1003 <binding>
1004 <command>property-assign</command>
1005 <property>/input/honeycomb/bravo/lever-down-button[1]</property>
1006 <value>1</value>
1007 </binding>
1008 <mod-up>
1009 <binding>
1010 <command>property-assign</command>
1011 <property>/input/honeycomb/bravo/lever-down-button[10]</property>
1012 <value>0</value>
1013 </binding>
1014 </mod-up>
1015 </event>
1016 <event>
1017 <name>button-26</name>
1018 <desc>Lever2-down-button</desc>
1019 <repeatable>false</repeatable>
1020 <binding>
1021 <command>property-assign</command>
1022 <property>/input/honeycomb/bravo/lever-down-button[2]</property>
1023 <value>1</value>
1024 </binding>
1025 <mod-up>
1026 <binding>
1027 <command>property-assign</command>
1028 <property>/input/honeycomb/bravo/lever-down-button[2]</property>
1029 <value>0</value>
1030 </binding>
1031 </mod-up>
1032 </event>
1033 <event>
1034 <name>button-27</name>
1035 <desc>Lever3-down-button</desc>
1036 <repeatable>false</repeatable>
1037 <binding>
1038 <command>property-assign</command>
1039 <property>/input/honeycomb/bravo/lever-down-button[3]</property>
1040 <value>1</value>
1041 </binding>
1042 <mod-up>
1043 <binding>
1044 <command>property-assign</command>
1045 <property>/input/honeycomb/bravo/lever-down-button[3]</property>
1046 <value>0</value>
1047 </binding>
1048 </mod-up>
1049 </event>
1050 <event>
1051 <name>button-28</name>
1052 <desc>Lever4-down-button</desc>
1053 <repeatable>false</repeatable>
1054 <binding>
1055 <command>property-assign</command>
1056 <property>/input/honeycomb/bravo/lever-down-button[4]</property>
1057 <value>1</value>
1058 </binding>
1059 <mod-up>
1060 <binding>
1061 <command>property-assign</command>
1062 <property>/input/honeycomb/bravo/lever-down-button[4]</property>
1063 <value>0</value>
1064 </binding>
1065 </mod-up>
1066 </event>
1067
1068 <event>
1069 <name>button-29</name>
1070 <desc>TOGA 1/2</desc>
1071 <repeatable>false</repeatable>
1072 <binding>
1073 <command>property-assign</command>
1074 <property>/input/honeycomb/bravo/buttons/toga</property>
1075 <value>1</value>
1076 </binding>
1077 <mod-up>
1078 <binding>
1079 <command>property-assign</command>
1080 <property>/input/honeycomb/bravo/buttons/toga</property>
1081 <value>0</value>
1082 </binding>
1083 </mod-up>
1084 </event>
1085 <event>
1086 <name>button-30</name>
1087 <desc>TOGA 3</desc>
1088 <repeatable>false</repeatable>
1089 <binding>
1090 <command>property-assign</command>
1091 <property>/input/honeycomb/bravo/buttons/toga</property>
1092 <value>1</value>
1093 </binding>
1094 <mod-up>
1095 <binding>
1096 <command>property-assign</command>
1097 <property>/input/honeycomb/bravo/buttons/toga</property>
1098 <value>0</value>
1099 </binding>
1100 </mod-up>
1101 </event>
1102 <!-- gear lever -->
1103 <event>
1104 <name>button-31</name>
1105 <desc>Gear UP</desc>
1106 <repeatable>false</repeatable>
1107 <binding>
1108 <command>property-assign</command>
1109 <property>/input/honeycomb/bravo/gear-lever-up</property>
1110 <value>1</value>
1111 </binding>
1112 <mod-up>
1113 <binding>
1114 <command>property-assign</command>
1115 <property>/input/honeycomb/bravo/gear-lever-up</property>
1116 <value>0</value>
1117 </binding>
1118 </mod-up>
1119 <binding>
1120 <command>nasal</command>
1121 <script>controls.gearDown(-1);</script>
1122 </binding>
1123 </event>
1124 <event>
1125 <name>button-32</name>
1126 <desc>Gear DOWN</desc>
1127 <repeatable>false</repeatable>
1128 <binding>
1129 <command>property-assign</command>
1130 <property>/input/honeycomb/bravo/gear-lever-down</property>
1131 <value>1</value>
1132 </binding>
1133 <mod-up>
1134 <binding>
1135 <command>property-assign</command>
1136 <property>/input/honeycomb/bravo/gear-lever-down</property>
1137 <value>0</value>
1138 </binding>
1139 </mod-up>
1140 <binding>
1141 <command>nasal</command>
1142 <script>controls.gearDown(1);</script>
1143 </binding>
1144 </event>
1145
1146 <event>
1147 <name>button-33</name>
1148 <desc>Lever5-down-button</desc>
1149 <repeatable>false</repeatable>
1150 <binding>
1151 <command>property-assign</command>
1152 <property>/input/honeycomb/bravo/lever-down-button[5]</property>
1153 <value>1</value>
1154 </binding>
1155 <mod-up>
1156 <binding>
1157 <command>property-assign</command>
1158 <property>/input/honeycomb/bravo/lever-down-button[5]</property>
1159 <value>0</value>
1160 </binding>
1161 </mod-up>
1162 </event>
1163
1164 <event>
1165 <name>button-34</name>
1166 <desc>Switch 1 up</desc>
1167 <repeatable>false</repeatable>
1168 <binding>
1169 <command>property-assign</command>
1170 <property>/input/honeycomb/bravo/switches/s[1]</property>
1171 <value>1</value>
1172 </binding>
1173 </event>
1174 <event>
1175 <name>button-35</name>
1176 <desc>Switch 1 down</desc>
1177 <repeatable>false</repeatable>
1178 <binding>
1179 <command>property-assign</command>
1180 <property>/input/honeycomb/bravo/switches/s[1]</property>
1181 <value>0</value>
1182 </binding>
1183 </event>
1184
1185 <event>
1186 <name>button-36</name>
1187 <desc>Switch 2 up</desc>
1188 <repeatable>false</repeatable>
1189 <binding>
1190 <command>property-assign</command>
1191 <property>/input/honeycomb/bravo/switches/s[2]</property>
1192 <value>1</value>
1193 </binding>
1194 </event>
1195 <event>
1196 <name>button-37</name>
1197 <desc>Switch 2 down</desc>
1198 <repeatable>false</repeatable>
1199 <binding>
1200 <command>property-assign</command>
1201 <property>/input/honeycomb/bravo/switches/s[2]</property>
1202 <value>0</value>
1203 </binding>
1204 </event>
1205
1206 <event>
1207 <name>button-38</name>
1208 <desc>Switch 3 up</desc>
1209 <repeatable>false</repeatable>
1210 <binding>
1211 <command>property-assign</command>
1212 <property>/input/honeycomb/bravo/switches/s[3]</property>
1213 <value>1</value>
1214 </binding>
1215 </event>
1216 <event>
1217 <name>button-39</name>
1218 <desc>Switch 3 down</desc>
1219 <repeatable>false</repeatable>
1220 <binding>
1221 <command>property-assign</command>
1222 <property>/input/honeycomb/bravo/switches/s[3]</property>
1223 <value>0</value>
1224 </binding>
1225 </event>
1226
1227 <event>
1228 <name>button-40</name>
1229 <desc>Switch 4 up</desc>
1230 <repeatable>false</repeatable>
1231 <binding>
1232 <command>property-assign</command>
1233 <property>/input/honeycomb/bravo/switches/s[4]</property>
1234 <value>1</value>
1235 </binding>
1236 </event>
1237 <event>
1238 <name>button-41</name>
1239 <desc>Switch 4 down</desc>
1240 <repeatable>false</repeatable>
1241 <binding>
1242 <command>property-assign</command>
1243 <property>/input/honeycomb/bravo/switches/s[4]</property>
1244 <value>0</value>
1245 </binding>
1246 </event>
1247
1248 <event>
1249 <name>button-42</name>
1250 <desc>Switch 5 up</desc>
1251 <repeatable>false</repeatable>
1252 <binding>
1253 <command>property-assign</command>
1254 <property>/input/honeycomb/bravo/switches/s[5]</property>
1255 <value>1</value>
1256 </binding>
1257 </event>
1258 <event>
1259 <name>button-43</name>
1260 <desc>Switch 5 down</desc>
1261 <repeatable>false</repeatable>
1262 <binding>
1263 <command>property-assign</command>
1264 <property>/input/honeycomb/bravo/switches/s[5]</property>
1265 <value>0</value>
1266 </binding>
1267 </event>
1268
1269 <event>
1270 <name>button-44</name>
1271 <desc>Switch 6 up</desc>
1272 <repeatable>false</repeatable>
1273 <binding>
1274 <command>property-assign</command>
1275 <property>/input/honeycomb/bravo/switches/s[6]</property>
1276 <value>1</value>
1277 </binding>
1278 </event>
1279 <event>
1280 <name>button-45</name>
1281 <desc>Switch 6 down</desc>
1282 <repeatable>false</repeatable>
1283 <binding>
1284 <command>property-assign</command>
1285 <property>/input/honeycomb/bravo/switches/s[6]</property>
1286 <value>0</value>
1287 </binding>
1288 </event>
1289
1290 <event>
1291 <name>button-46</name>
1292 <desc>Switch 7 up</desc>
1293 <repeatable>false</repeatable>
1294 <binding>
1295 <command>property-assign</command>
1296 <property>/input/honeycomb/bravo/switches/s[7]</property>
1297 <value>1</value>
1298 </binding>
1299 </event>
1300 <event>
1301 <name>button-47</name>
1302 <desc>Switch 7 down</desc>
1303 <repeatable>false</repeatable>
1304 <binding>
1305 <command>property-assign</command>
1306 <property>/input/honeycomb/bravo/switches/s[7]</property>
1307 <value>0</value>
1308 </binding>
1309 </event>
1310
1311 <event>
1312 <name>button-48</name>
1313 <desc>TOGA on handle 4</desc>
1314 <repeatable>false</repeatable>
1315 <binding>
1316 <command>property-assign</command>
1317 <property>/input/honeycomb/bravo/buttons/toga</property>
1318 <value>1</value>
1319 </binding>
1320 <mod-up>
1321 <binding>
1322 <command>property-assign</command>
1323 <property>/input/honeycomb/bravo/buttons/toga</property>
1324 <value>0</value>
1325 </binding>
1326 </mod-up>
1327 </event>
1328 </PropertyList>