Debian Codegraph @

Aircraft/Instruments/jet-throttle-quadrant.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Throttle qquadrant.
5
6 December 2001 by John Check, [email protected]
7
8 This is an instrument configuration file for the open-source flight
9 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
10 FlightGear property list defining the instrument's layers and actions.
11
12 Each instrument is composed of layers stacked on top of each other.
13 A layer may be a texture (with transparent parts to show the layers
14 underneath), text, or a special layer that switches between two
15 others (say, to turn an indicator light on or off). Each layer can
16 move independently in proportion to a property value, and text
17 can be generated from property values as well: all of the layer's
18 movements are defined as transformations.
19
20 Actions are hotspots on the instrument that will respond to a mouse
21 click. Actions always modify the values of properties, either by
22 adjusting them, toggling them, or swaping them with other
23 properties' values.
24
25 Hacked to better suit jet aircraft with reheat, as below
26
27 throttle = same
28 Prop Pitch = flaps
29 Mixture = reheat
30
31 Lee Elliott
32 -->
33
34 <PropertyList>
35
36 <name>jet throttle quadrant</name>
37 <w-base>150</w-base>
38 <h-base>70</h-base>
39
40 <params>
41 <engine0-throttle-select>/controls/engines/engine[0]/throttle</engine0-throttle-select>
42 <engine1-throttle-select>/controls/engines/engine[1]/throttle</engine1-throttle-select>
43 <flaps-select>/controls/flight/flaps</flaps-select>
44 <engine0-reheat-select>/controls/engines/engine[0]/augmentation</engine0-reheat-select>
45 <engine1-reheat-select>/controls/engines/engine[1]/augmentation</engine1-reheat-select>
46 </params>
47
48 <layers>
49
50 <layer>
51 <name>backplate</name>
52 <texture>
53 <path>Aircraft/Instruments/Textures/flaps.rgb</path>
54 <x1>0.378125</x1>
55 <y1>0.65</y1>
56 <x2>1.0</x2>
57 <y2>1.0</y2>
58 </texture>
59 <w>150</w>
60 <h>70</h>
61 </layer>
62
63 <!--throttles -->
64
65 <layer>
66 <name>throttle 0 handle </name>
67 <texture>
68 <path>Aircraft/Instruments/Textures/handles.rgb</path>
69 <x1>0.0</x1>
70 <x2>0.37890625</x2>
71 <y1>0.875</y1>
72 <y2>1.0</y2>
73 </texture>
74 <w>20</w>
75 <h>30</h>
76 <transformations>
77 <transformation>
78 <type>x-shift</type>
79 <offset>-65</offset>
80 </transformation>
81 <transformation>
82 <type>y-shift</type>
83 <property alias="../../../../../params/engine0-throttle-select"/>
84 <min>0.0</min>
85 <max>1.0</max>
86 <scale>40</scale>
87 <offset>-20</offset>
88 </transformation>
89 </transformations>
90 </layer>
91
92 <layer>
93 <name>throttle 1 handle</name>
94 <texture>
95 <path>Aircraft/Instruments/Textures/handles.rgb</path>
96 <x1>0.0</x1>
97 <x2>0.37890625</x2>
98 <y1>0.875</y1>
99 <y2>1.0</y2>
100 </texture>
101 <w>20</w>
102 <h>30</h>
103 <transformations>
104 <transformation>
105 <type>x-shift</type>
106 <offset>-45</offset>
107 </transformation>
108 <transformation>
109 <type>y-shift</type>
110 <property alias="../../../../../params/engine0-throttle-select"/>
111 <min>0.0</min>
112 <max>1.0</max>
113 <scale>40</scale>
114 <offset>-20</offset>
115 </transformation>
116 </transformations>
117 </layer>
118
119 <!-- Flap extend/retract -->
120
121 <layer>
122 <name>prop advance0 handle</name>
123 <texture>
124 <path>Aircraft/Instruments/Textures/handles.rgb</path>
125 <x1>0.0</x1>
126 <x2>0.37890625</x2>
127 <y1>0.6015625</y1>
128 <y2>0.72265625</y2>
129 </texture>
130 <w>40</w>
131 <h>30</h>
132 <transformations>
133 <transformation>
134 <type>x-shift</type>
135 <offset>-0</offset>
136 </transformation>
137 <transformation>
138 <type>y-shift</type>
139 <property alias="../../../../../params/flaps-select"/>
140 <min>0.0</min>
141 <max>1.0</max>
142 <scale>40</scale>
143 <offset>-20</offset>
144 </transformation>
145 </transformations>
146 </layer>
147
148 <!-- Reheat -->
149
150 <layer>
151 <name>mEngine 0 Reheat handle</name>
152 <texture>
153 <path>Aircraft/Instruments/Textures/handles.rgb</path>
154 <x1>0.0</x1>
155 <x2>0.37890625</x2>
156 <y1>0.73828125</y1>
157 <y2>0.86328125</y2>
158 </texture>
159 <w>20</w>
160 <h>30</h>
161 <transformations>
162 <transformation>
163 <type>x-shift</type>
164 <offset>45</offset>
165 </transformation>
166 <transformation>
167 <type>y-shift</type>
168 <property alias="../../../../../params/engine0-reheat-select"/>
169 <min>0.0</min>
170 <max>1.0</max>
171 <scale>40</scale>
172 <offset>-22</offset>
173 </transformation>
174 </transformations>
175 </layer>
176
177 <layer>
178 <name>Engine 1 Reheat handle</name>
179 <texture>
180 <path>Aircraft/Instruments/Textures/handles.rgb</path>
181 <x1>0.0</x1>
182 <x2>0.37890625</x2>
183 <y1>0.73828125</y1>
184 <y2>0.86328125</y2>
185 </texture>
186 <w>20</w>
187 <h>30</h>
188 <transformations>
189 <transformation>
190 <type>x-shift</type>
191 <offset>65</offset>
192 </transformation>
193 <transformation>
194 <type>y-shift</type>
195 <property alias="../../../../../params/engine1-reheat-select"/>
196 <min>0.0</min>
197 <max>1.0</max>
198 <scale>40</scale>
199 <offset>-22</offset>
200 </transformation>
201 </transformations>
202 </layer>
203 </layers>
204
205 <actions>
206
207 <!-- throttle 0 -->
208 <action>
209 <name>small decrease</name>
210 <button>0</button>
211 <x>-75</x>
212 <y>-35</y>
213 <w>10</w>
214 <h>35</h>
215 <binding>
216 <command>property-adjust</command>
217 <property alias="../../../../params/engine0-throttle-select"/>
218 <step>-0.01</step>
219 <min>0</min>
220 <max>1.0</max>
221 <wrap>false</wrap>
222 </binding>
223 </action>
224
225 <action>
226 <name>small increase</name>
227 <button>0</button>
228 <x>-65</x>
229 <y>-35</y>
230 <w>10</w>
231 <h>35</h>
232 <binding>
233 <command>property-adjust</command>
234 <property alias="../../../../params/engine0-throttle-select"/>
235 <step>0.01</step>
236 <min>0</min>
237 <max>1.0</max>
238 <wrap>false</wrap>
239 </binding>
240 </action>
241
242 <action>
243 <name>big decrease</name>
244 <button>1</button>
245 <x>-75</x>
246 <y>-35</y>
247 <w>10</w>
248 <h>35</h>
249 <binding>
250 <command>property-adjust</command>
251 <property alias="../../../../params/engine0-throttle-select"/>
252 <step>-0.1</step>
253 <min>0</min>
254 <max>1.0</max>
255 <wrap>false</wrap>
256 </binding>
257 </action>
258
259 <action>
260 <name>big increase</name>
261 <button>1</button>
262 <x>-65</x>
263 <y>-35</y>
264 <w>10</w>
265 <h>35</h>
266 <binding>
267 <command>property-adjust</command>
268 <property alias="../../../../params/engine0-throttle-select"/>
269 <step>0.1</step>
270 <min>0</min>
271 <max>1.0</max>
272 <wrap>false</wrap>
273 </binding>
274 </action>
275
276 <!-- throttle 1 -->
277 <action>
278 <name>small decrease</name>
279 <button>0</button>
280 <x>-45</x>
281 <y>-35</y>
282 <w>10</w>
283 <h>35</h>
284 <binding>
285 <command>property-adjust</command>
286 <property alias="../../../../params/engine1-throttle-select"/>
287 <step>-0.01</step>
288 <min>0</min>
289 <max>1.0</max>
290 <wrap>false</wrap>
291 </binding>
292 </action>
293
294 <action>
295 <name>small increase</name>
296 <button>0</button>
297 <x>-55</x>
298 <y>-35</y>
299 <w>10</w>
300 <h>35</h>
301 <binding>
302 <command>property-adjust</command>
303 <property alias="../../../../params/engine1-throttle-select"/>
304 <step>0.01</step>
305 <min>0</min>
306 <max>1.0</max>
307 <wrap>false</wrap>
308 </binding>
309 </action>
310
311 <action>
312 <name>big decrease</name>
313 <button>1</button>
314 <x>-45</x>
315 <y>-35</y>
316 <w>10</w>
317 <h>35</h>
318 <binding>
319 <command>property-adjust</command>
320 <property alias="../../../../params/engine1-throttle-select"/>
321 <step>-0.1</step>
322 <min>0</min>
323 <max>1.0</max>
324 <wrap>false</wrap>
325 </binding>
326 </action>
327
328 <action>
329 <name>big increase</name>
330 <button>1</button>
331 <x>-55</x>
332 <y>-35</y>
333 <w>10</w>
334 <h>35</h>
335 <binding>
336 <command>property-adjust</command>
337 <property alias="../../../../params/engine1-throttle-select"/>
338 <step>0.1</step>
339 <min>0</min>
340 <max>1.0</max>
341 <wrap>false</wrap>
342 </binding>
343 </action>
344
345 <!-- throttle 0 and 1 -->
346 <action>
347 <name>small decrease</name>
348 <button>0</button>
349 <x>-75</x>
350 <y>0</y>
351 <w>20</w>
352 <h>35</h>
353 <binding>
354 <command>property-adjust</command>
355 <property alias="../../../../params/engine0-throttle-select"/>
356 <step>-0.01</step>
357 <min>0</min>
358 <max>1.0</max>
359 <wrap>false</wrap>
360 </binding>
361 <binding>
362 <command>property-adjust</command>
363 <property alias="../../../../params/engine1-throttle-select"/>
364 <step>-0.01</step>
365 <min>0</min>
366 <max>1.0</max>
367 <wrap>false</wrap>
368 </binding>
369 </action>
370
371 <action>
372 <name>small increase</name>
373 <button>0</button>
374 <x>-55</x>
375 <y>0</y>
376 <w>20</w>
377 <h>35</h>
378 <binding>
379 <command>property-adjust</command>
380 <property alias="../../../../params/engine0-throttle-select"/>
381 <step>0.01</step>
382 <min>0</min>
383 <max>1.0</max>
384 <wrap>false</wrap>
385 </binding>
386 <binding>
387 <command>property-adjust</command>
388 <property alias="../../../../params/engine1-throttle-select"/>
389 <step>0.01</step>
390 <min>0</min>
391 <max>1.0</max>
392 <wrap>false</wrap>
393 </binding>
394 </action>
395
396 <action>
397 <name>big decrease</name>
398 <button>1</button>
399 <x>-75</x>
400 <y>0</y>
401 <w>20</w>
402 <h>35</h>
403 <binding>
404 <command>property-adjust</command>
405 <property alias="../../../../params/engine0-throttle-select"/>
406 <step>-0.1</step>
407 <min>0</min>
408 <max>1.0</max>
409 <wrap>false</wrap>
410 </binding>
411 <binding>
412 <command>property-adjust</command>
413 <property alias="../../../../params/engine1-throttle-select"/>
414 <step>-0.1</step>
415 <min>0</min>
416 <max>1.0</max>
417 <wrap>false</wrap>
418 </binding>
419 </action>
420
421 <action>
422 <name>big increase</name>
423 <button>1</button>
424 <x>-55</x>
425 <y>-0</y>
426 <w>20</w>
427 <h>35</h>
428 <binding>
429 <command>property-adjust</command>
430 <property alias="../../../../params/engine0-throttle-select"/>
431 <step>0.1</step>
432 <min>0</min>
433 <max>1.0</max>
434 <wrap>false</wrap>
435 </binding>
436 <binding>
437 <command>property-adjust</command>
438 <property alias="../../../../params/engine1-throttle-select"/>
439 <step>0.1</step>
440 <min>0</min>
441 <max>1.0</max>
442 <wrap>false</wrap>
443 </binding>
444 </action>
445
446 <!-- flap extend/retract -->
447 <action>
448 <name>Flap Retract</name>
449 <button>0</button>
450 <x>-20</x>
451 <y>-35</y>
452 <w>40</w>
453 <h>20</h>
454 <binding>
455 <command>property-adjust</command>
456 <property alias="../../../../params/flaps-select"/>
457 <step>-0.33</step>
458 <min>0</min>
459 <max>1.0</max>
460 <wrap>false</wrap>
461 </binding>
462 </action>
463
464 <action>
465 <name>Flap Extend</name>
466 <button>0</button>
467 <x>-20</x>
468 <y>10</y>
469 <w>40</w>
470 <h>20</h>
471 <binding>
472 <command>property-adjust</command>
473 <property alias="../../../../params/flaps-select"/>
474 <step>0.33</step>
475 <min>0</min>
476 <max>1.0</max>
477 <wrap>false</wrap>
478 </binding>
479 </action>
480
481 <!-- Reheat 0 -->
482 <!--
483 <action>
484 <name>big decrease</name>
485 <button>1</button>
486 <x>35</x>
487 <y>-35</y>
488 <w>10</w>
489 <h>35</h>
490 <binding>
491 <command>property-adjust</command>
492 <property alias="../../../../params/engine0-reheat-select"/>
493 <step>-0.1</step>
494 <min>0</min>
495 <max>1.0</max>
496 <wrap>false</wrap>
497 </binding>
498 </action>
499
500 <action>
501 <name>big increase</name>
502 <button>1</button>
503 <x>45</x>
504 <y>-35</y>
505 <w>10</w>
506 <h>35</h>
507 <binding>
508 <command>property-adjust</command>
509 <property alias="../../../../params/engine0-reheat-select"/>
510 <step>0.1</step>
511 <min>0</min>
512 <max>1.0</max>
513 <wrap>false</wrap>
514 </binding>
515 </action>
516 -->
517 <!-- reheat 1 -->
518 <!--
519 <action>
520 <name>big decrease</name>
521 <button>1</button>
522 <x>65</x>
523 <y>-35</y>
524 <w>10</w>
525 <h>35</h>
526 <binding>
527 <command>property-adjust</command>
528 <property alias="../../../../params/engine1-reheat-select"/>
529 <step>-0.1</step>
530 <min>0</min>
531 <max>1.0</max>
532 <wrap>false</wrap>
533 </binding>
534 </action>
535
536 <action>
537 <name>big increase</name>
538 <button>1</button>
539 <x>55</x>
540 <y>-35</y>
541 <w>10</w>
542 <h>35</h>
543 <binding>
544 <command>property-adjust</command>
545 <property alias="../../../../params/engine1-reheat-select"/>
546 <step>0.1</step>
547 <min>0</min>
548 <max>1.0</max>
549 <wrap>false</wrap>
550 </binding>
551 </action>
552 -->
553 <!-- engine 0 and 1 reheat -->
554 <!--
555 <action>
556 <name>big decrease</name>
557 <button>1</button>
558 <x>35</x>
559 <y>0</y>
560 <w>20</w>
561 <h>35</h>
562 <binding>
563 <command>property-adjust</command>
564 <property alias="../../../../params/engine0-reheat-select"/>
565 <step>-0.1</step>
566 <min>0</min>
567 <max>1.0</max>
568 <wrap>false</wrap>
569 </binding>
570 <binding>
571 <command>property-adjust</command>
572 <property alias="../../../../params/engine1-reheat-select"/>
573 <step>-0.1</step>
574 <min>0</min>
575 <max>1.0</max>
576 <wrap>false</wrap>
577 </binding>
578 </action>
579
580 <action>
581 <name>big increase</name>
582 <button>1</button>
583 <x>-5</x>
584 <y>-5</y>
585 <w>40</w>
586 <h>40</h>
587 <binding>
588 <command>property-adjust</command>
589 <property alias="../../../../params/engine0-reheat-select"/>
590 <step>0.1</step>
591 <min>0</min>
592 <max>1.0</max>
593 <wrap>false</wrap>
594 </binding>
595 <binding>
596 <command>property-adjust</command>
597 <property alias="../../../../params/engine1-reheat-select"/>
598 <step>0.1</step>
599 <min>0</min>
600 <max>1.0</max>
601 <wrap>false</wrap>
602 </binding>
603 </action>
604 -->
605 <!-- Engine 0 Reheat -->
606 <action>
607 <name>small decrease</name>
608 <button>0</button>
609 <x>35</x>
610 <y>-35</y>
611 <w>10</w>
612 <h>35</h>
613 <binding>
614 <command>property-adjust</command>
615 <property alias="../../../../params/engine0-reheat-select"/>
616 <step>-0.01</step>
617 <min>0</min>
618 <max>1.0</max>
619 <wrap>false</wrap>
620 </binding>
621 </action>
622
623 <action>
624 <name>small increase</name>
625 <button>0</button>
626 <x>45</x>
627 <y>-36</y>
628 <w>10</w>
629 <h>35</h>
630 <binding>
631 <command>property-adjust</command>
632 <property alias="../../../../params/engine0-reheat-select"/>
633 <step>0.01</step>
634 <min>0</min>
635 <max>1.0</max>
636 <wrap>false</wrap>
637 </binding>
638 </action>
639
640 <action>
641 <name>big decrease</name>
642 <button>1</button>
643 <x>35</x>
644 <y>-35</y>
645 <w>10</w>
646 <h>35</h>
647 <binding>
648 <command>property-adjust</command>
649 <property alias="../../../../params/engine0-reheat-select"/>
650 <step>-0.1</step>
651 <min>0</min>
652 <max>1.0</max>
653 <wrap>false</wrap>
654 </binding>
655 </action>
656
657 <action>
658 <name>big increase</name>
659 <button>1</button>
660 <x>45</x>
661 <y>-35</y>
662 <w>10</w>
663 <h>35</h>
664 <binding>
665 <command>property-adjust</command>
666 <property alias="../../../../params/engine0-reheat-select"/>
667 <step>0.1</step>
668 <min>0</min>
669 <max>1.0</max>
670 <wrap>false</wrap>
671 </binding>
672 </action>
673 <!-- Engine 1 Reheat -->
674 <action>
675 <name>small decrease</name>
676 <button>0</button>
677 <x>65</x>
678 <y>-35</y>
679 <w>10</w>
680 <h>35</h>
681 <binding>
682 <command>property-adjust</command>
683 <property alias="../../../../params/engine1-reheat-select"/>
684 <step>-0.01</step>
685 <min>0</min>
686 <max>1.0</max>
687 <wrap>false</wrap>
688 </binding>
689 </action>
690
691 <action>
692 <name>small increase</name>
693 <button>0</button>
694 <x>55</x>
695 <y>-35</y>
696 <w>10</w>
697 <h>35</h>
698 <binding>
699 <command>property-adjust</command>
700 <property alias="../../../../params/engine1-reheat-select"/>
701 <step>0.01</step>
702 <min>0</min>
703 <max>1.0</max>
704 <wrap>false</wrap>
705 </binding>
706 </action>
707
708 <action>
709 <name>big decrease</name>
710 <button>1</button>
711 <x>65</x>
712 <y>-35</y>
713 <w>10</w>
714 <h>35</h>
715 <binding>
716 <command>property-adjust</command>
717 <property alias="../../../../params/engine1-reheat-select"/>
718 <step>-0.1</step>
719 <min>0</min>
720 <max>1.0</max>
721 <wrap>false</wrap>
722 </binding>
723 </action>
724
725 <action>
726 <name>big increase</name>
727 <button>1</button>
728 <x>55</x>
729 <y>-35</y>
730 <w>10</w>
731 <h>35</h>
732 <binding>
733 <command>property-adjust</command>
734 <property alias="../../../../params/engine1-reheat-select"/>
735 <step>0.1</step>
736 <min>0</min>
737 <max>1.0</max>
738 <wrap>false</wrap>
739 </binding>
740 </action>
741 <!-- Engine 0 and 1 Reheat -->
742 <action>
743 <name>small decrease</name>
744 <button>0</button>
745 <x>35</x>
746 <y>0</y>
747 <w>20</w>
748 <h>35</h>
749 <binding>
750 <command>property-adjust</command>
751 <property alias="../../../../params/engine0-reheat-select"/>
752 <step>-0.01</step>
753 <min>0</min>
754 <max>1.0</max>
755 <wrap>false</wrap>
756 </binding>
757 <binding>
758 <command>property-adjust</command>
759 <property alias="../../../../params/engine1-reheat-select"/>
760 <step>-0.01</step>
761 <min>0</min>
762 <max>1.0</max>
763 <wrap>false</wrap>
764 </binding>
765 </action>
766
767 <action>
768 <name>small increase</name>
769 <button>0</button>
770 <x>55</x>
771 <y>0</y>
772 <w>20</w>
773 <h>35</h>
774 <binding>
775 <command>property-adjust</command>
776 <property alias="../../../../params/engine0-reheat-select"/>
777 <step>0.01</step>
778 <min>0</min>
779 <max>1.0</max>
780 <wrap>false</wrap>
781 </binding>
782 <binding>
783 <command>property-adjust</command>
784 <property alias="../../../../params/engine1-reheat-select"/>
785 <step>0.01</step>
786 <min>0</min>
787 <max>1.0</max>
788 <wrap>false</wrap>
789 </binding>
790 </action>
791 <action>
792 <name>big decrease</name>
793 <button>1</button>
794 <x>35</x>
795 <y>0</y>
796 <w>20</w>
797 <h>35</h>
798 <binding>
799 <command>property-adjust</command>
800 <property alias="../../../../params/engine0-reheat-select"/>
801 <step>-0.1</step>
802 <min>0</min>
803 <max>1.0</max>
804 <wrap>false</wrap>
805 </binding>
806 <binding>
807 <command>property-adjust</command>
808 <property alias="../../../../params/engine1-reheat-select"/>
809 <step>-0.1</step>
810 <min>0</min>
811 <max>1.0</max>
812 <wrap>false</wrap>
813 </binding>
814 </action>
815
816 <action>
817 <name>big increase</name>
818 <button>1</button>
819 <x>55</x>
820 <y>0</y>
821 <w>20</w>
822 <h>35</h>
823 <binding>
824 <command>property-adjust</command>
825 <property alias="../../../../params/engine0-reheat-select"/>
826 <step>0.1</step>
827 <min>0</min>
828 <max>1.0</max>
829 <wrap>false</wrap>
830 </binding>
831 <binding>
832 <command>property-adjust</command>
833 <property alias="../../../../params/engine1-reheat-select"/>
834 <step>0.1</step>
835 <min>0</min>
836 <max>1.0</max>
837 <wrap>false</wrap>
838 </binding>
839 </action>
840
841 </actions>
842
843 </PropertyList>