Fix of VNAV can not fly multiple leg.
[fg:toms-fgdata.git] / Aircraft / 777 / Models / APpanel.xml
1 <!-- 777-200
2 Justin Smithies
3 Syd Adams
4 Autopilot Control Panel
5 -->
6
7 <PropertyList>
8
9 <path>APpanel.ac</path>
10
11         <animation>
12                 <type>rotate</type>
13                 <object-name>BLimit.knob</object-name>
14                 <object-name>BLimit.knob.001</object-name>
15                 <property>instrumentation/afds/inputs/bank-limit-switch</property>
16                 <factor>-20.0</factor>
17                 <center>
18                         <x-m>0</x-m>
19                         <y-m>-0.007</y-m>
20                         <z-m>-0.006</z-m>
21                 </center>
22                 <axis>
23                         <x>1</x>
24                         <y>0</y>
25                         <z>0</z>
26                 </axis>
27         </animation>
28
29         <animation>
30                 <type>rotate</type>
31                 <object-name>IAS.knob</object-name>
32                 <object-name>IAS.knob.001</object-name>
33                 <property>instrumentation/afds/inputs/speed-src</property>
34                 <interpolation>
35                         <entry><ind>0</ind><dep>0</dep></entry>
36                         <entry><ind>1</ind><dep>122</dep></entry>
37                         <entry><ind>2</ind><dep>188</dep></entry>
38                         <entry><ind>3</ind><dep>239</dep></entry>
39                 </interpolation>
40                 <center>
41                         <x-m>0</x-m>
42                         <y-m>-0.133</y-m>
43                         <z-m>-0.018</z-m>
44                 </center>
45                 <axis>
46                         <x>1</x>
47                         <y>0</y>
48                         <z>0</z>
49                 </axis>
50         </animation>
51
52         <animation>
53                 <type>rotate</type>
54                 <object-name>ALTmode.knob</object-name>
55                 <object-name>ALTmode.knob.001</object-name>
56                 <property>instrumentation/afds/inputs/alt-knob</property>
57                 <factor>100</factor>
58                 <center>
59                         <x-m>0</x-m>
60                         <y-m>0.135</y-m>
61                         <z-m>-0.007</z-m>
62                 </center>
63                 <axis>
64                         <x>-1</x>
65                         <y>0</y>
66                         <z>0</z>
67                 </axis>
68         </animation>
69
70         <animation>
71                 <type>rotate</type>
72                 <object-name>FDtoggle</object-name>
73                 <property>instrumentation/afds/inputs/FD</property>
74                 <factor>-30.0</factor>
75                 <center>
76                         <x-m>0</x-m>
77                         <y-m>-0.207</y-m>
78                         <z-m>-0.020</z-m>
79                 </center>
80                 <axis>
81                         <x>0</x>
82                         <y>1</y>
83                         <z>0</z>
84                 </axis>
85         </animation>
86
87         <animation>
88                 <type>rotate</type>
89                 <object-name>THARM.switch</object-name>
90                 <property>instrumentation/afds/inputs/at-armed</property>
91                 <factor>-30.0</factor>
92                 <center>
93                         <x-m>0</x-m>
94                         <y-m>-0.179</y-m>
95                         <z-m>0.025</z-m>
96                 </center>
97                 <axis>
98                         <x>0</x>
99                         <y>1</y>
100                         <z>0</z>
101                 </axis>
102         </animation>
103
104         <animation>
105                 <type>rotate</type>
106                 <object-name>THARM1.switch</object-name>
107                 <property>instrumentation/afds/inputs/at-armed[1]</property>
108                 <factor>-30.0</factor>
109                 <center>
110                         <x-m>0</x-m>
111                         <y-m>-0.179</y-m>
112                         <z-m>0.025</z-m>
113                 </center>
114                 <axis>
115                         <x>0</x>
116                         <y>1</y>
117                         <z>0</z>
118                 </axis>
119         </animation>
120
121         <animation>
122                 <type>translate</type>
123                 <object-name>AP.disengage</object-name>
124                 <property>instrumentation/afds/inputs/AP-disengage</property>
125                 <factor>0.011</factor>
126                 <axis>
127                         <x>0</x>
128                         <y>0</y>
129                         <z>-1</z>
130                 </axis>
131         </animation>
132
133         <animation>
134                 <type>select</type>
135                 <object-name>APtoggle</object-name>
136                 <condition>
137                         <not>
138                                 <property>autopilot/locks/passive-mode</property>
139                         </not>
140                 </condition>
141         </animation>
142
143         <animation>
144                 <type>select</type>
145                 <object-name>HDGtoggle</object-name>
146                 <condition>
147                         <equals>
148                                 <property>instrumentation/afds/ap-modes/roll-mode</property>
149                                 <value>HDG HOLD</value>
150                         </equals>
151                 </condition>
152         </animation>
153
154         <animation>
155                 <type>select</type>
156                 <object-name>LNAV.toggle</object-name>
157                 <condition>
158                         <or>
159                                 <equals>
160                                         <property>instrumentation/afds/ap-modes/roll-mode</property>
161                                         <value>LNAV</value>
162                                 </equals>
163                                 <equals>
164                                         <property>instrumentation/afds/ap-modes/roll-mode-arm</property>
165                                         <value>LNAV</value>
166                                 </equals>
167                         </or>
168                 </condition>
169         </animation>
170
171         <animation>
172                 <type>select</type>
173                 <object-name>ALTtoggle</object-name>
174                 <condition>
175                         <equals>
176                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
177                                 <value>ALT</value>
178                         </equals>
179                 </condition>
180         </animation>
181
182         <animation>
183                 <type>select</type>
184                 <object-name>ATtoggle</object-name>
185                 <condition>
186                                 <not-equals>
187                                         <property>instrumentation/afds/ap-modes/speed-mode</property>
188                                         <value></value>
189                                 </not-equals>
190            </condition>
191         </animation>
192
193         <animation>
194                 <type>select</type>
195                 <object-name>VNAV.toggle</object-name>
196                 <condition>
197                         <or>
198                         <equals>
199                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
200                                 <value>VNAV ALT</value>
201                         </equals>
202                         <equals>
203                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
204                                 <value>VNAV SPD</value>
205                         </equals>
206                         <equals>
207                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
208                                 <value>VNAV PTH</value>
209                         </equals>
210                         <equals>
211                                 <property>instrumentation/afds/ap-modes/pitch-mode-arm</property>
212                                 <value>VNAV</value>
213                         </equals>
214                         </or>
215                 </condition>
216         </animation>
217
218         <animation>
219                 <type>select</type>
220                 <object-name>FLCH.toggle</object-name>
221                 <condition>
222                         <equals>
223                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
224                                 <value>FLCH SPD</value>
225                         </equals>
226                 </condition>
227         </animation>
228
229         <animation>
230                 <type>select</type>
231                 <object-name>LOC.toggle</object-name>
232                 <condition>
233                         <or>
234                                 <equals>
235                                         <property>instrumentation/afds/ap-modes/roll-mode</property>
236                                         <value>LOC</value>
237                                 </equals>
238                                 <property>instrumentation/afds/inputs/loc-armed</property>
239                         </or>
240                 </condition>
241         </animation>
242
243         <animation>
244                 <type>select</type>
245                 <object-name>APP.toggle</object-name>
246                 <condition>
247                         <or>
248                                 <equals>
249                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
250                                         <value>G/S</value>
251                                 </equals>
252                                 <property>instrumentation/afds/inputs/gs-armed</property>
253                         </or>
254                 </condition>
255         </animation>
256
257         <animation>
258                 <type>select</type>
259                 <object-name>VS.toggle</object-name>
260                 <condition>
261                         <or>
262                                 <equals>
263                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
264                                         <value>V/S</value>
265                                 </equals>
266                                 <equals>
267                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
268                                         <value>FPA</value>
269                                 </equals>
270                         </or>
271                 </condition>
272         </animation>
273
274 <!-- LED displays-->
275
276 <!-- IAS/MACH -->
277         <animation>
278                 <type>select</type>
279                 <object-name>ias.ind</object-name>
280                 <object-name>IAS.led1</object-name>
281                 <object-name>IAS.led2</object-name>
282                 <object-name>IAS.led3</object-name>
283                 <condition>
284                         <and>
285                                 <property>/systems/electrical/outputs/avionics</property>
286                                 <not>
287                                         <property>instrumentation/afds/inputs/ias-mach-selected</property>
288                                 </not>
289                                 <not-equals>
290                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
291                                         <value>VNAV ALT</value>
292                                 </not-equals>
293                                 <not-equals>
294                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
295                                         <value>VNAV SPD</value>
296                                 </not-equals>
297                                 <or>
298                                         <not-equals>
299                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
300                                                 <value>VNAV PTH</value>
301                                         </not-equals>
302                                         <and>
303                                                 <equals>
304                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
305                                                         <value>VNAV PTH</value>
306                                                 </equals>
307                                                 <property>instrumentation/afds/settings/manual-intervention</property>
308                                         </and>
309                                 </or>
310                         </and>
311                 </condition>
312         </animation>
313
314         <animation>
315                 <type>textranslate</type>
316                 <object-name>IAS.led1</object-name>
317                 <property>autopilot/settings/target-speed-kt</property>
318                 <factor>0.001</factor>
319                 <step>100</step>
320                 <axis>
321                         <x>0</x>
322                         <y>1</y>
323                         <z>0</z>
324                 </axis>
325         </animation>
326
327         <animation>
328                 <type>textranslate</type>
329                 <object-name>IAS.led2</object-name>
330                 <property>autopilot/settings/target-speed-kt</property>
331                 <factor>0.01</factor>
332                 <step>10</step>
333                 <axis>
334                         <x>0</x>
335                         <y>1</y>
336                         <z>0</z>
337                 </axis>
338         </animation>
339
340         <animation>
341                 <type>textranslate</type>
342                 <object-name>IAS.led3</object-name>
343                 <property>autopilot/settings/target-speed-kt</property>
344                 <factor>0.1</factor>
345                 <step>1</step>
346                 <axis>
347                         <x>0</x>
348                         <y>1</y>
349                         <z>0</z>
350                 </axis>
351         </animation>
352
353         <animation>
354                 <type>select</type>
355                 <object-name>mach.ind</object-name>
356                 <object-name>MACH.led1</object-name>
357                 <object-name>MACH.led2</object-name>
358                 <object-name>MACH.led3</object-name>
359                 <condition>
360                         <and>
361                                 <property>/systems/electrical/outputs/avionics</property>
362                                 <property>instrumentation/afds/inputs/ias-mach-selected</property>
363                                 <not-equals>
364                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
365                                         <value>VNAV ALT</value>
366                                 </not-equals>
367                                 <not-equals>
368                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
369                                         <value>VNAV SPD</value>
370                                 </not-equals>
371                                 <or>
372                                         <not-equals>
373                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
374                                                 <value>VNAV PTH</value>
375                                         </not-equals>
376                                         <and>
377                                                 <equals>
378                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
379                                                         <value>VNAV PTH</value>
380                                                 </equals>
381                                                 <property>instrumentation/afds/settings/manual-intervention</property>
382                                         </and>
383                                 </or>
384                         </and>
385                 </condition>
386         </animation>
387
388         <animation>
389                 <type>textranslate</type>
390                 <object-name>MACH.led1</object-name>
391                 <property>autopilot/settings/target-speed-mach</property>
392                 <factor>1</factor>
393                 <step>0.1</step>
394                 <axis>
395                         <x>0</x>
396                         <y>1</y>
397                         <z>0</z>
398                 </axis>
399         </animation>
400
401         <animation>
402                 <type>textranslate</type>
403                 <object-name>MACH.led2</object-name>
404                 <property>autopilot/settings/target-speed-mach</property>
405                 <factor>10.0</factor>
406                 <step>0.01</step>
407                 <axis>
408                         <x>0</x>
409                         <y>1</y>
410                         <z>0</z>
411                 </axis>
412         </animation>
413
414         <animation>
415                 <type>textranslate</type>
416                 <object-name>MACH.led3</object-name>
417                 <property>autopilot/settings/target-speed-mach</property>
418                 <factor>100.0</factor>
419                 <step>0.001</step>
420                 <axis>
421                         <x>0</x>
422                         <y>1</y>
423                         <z>0</z>
424                 </axis>
425         </animation>
426
427
428 <!-- HDG/TRK -->
429         <animation>
430                 <type>select</type>
431                 <object-name>hdg.ind</object-name>
432                 <object-name>HDG.led1</object-name>
433                 <object-name>HDG.led2</object-name>
434                 <object-name>HDG.led3</object-name>
435                 <condition>
436                         <and>
437                                 <property>/systems/electrical/outputs/avionics</property>
438                                 <not>
439                                         <property>instrumentation/afds/inputs/hdg-trk-selected</property>
440                                 </not>
441                         </and>
442                 </condition>
443         </animation>
444
445         <animation>
446                 <type>textranslate</type>
447                 <object-name>HDG.led1</object-name>
448                 <property>autopilot/settings/heading-bug-deg</property>
449                 <factor>0.001</factor>
450                 <step>100</step>
451                 <axis>
452                         <x>0</x>
453                         <y>1</y>
454                         <z>0</z>
455                 </axis>
456         </animation>
457
458         <animation>
459                 <type>textranslate</type>
460                 <object-name>HDG.led2</object-name>
461                 <property>autopilot/settings/heading-bug-deg</property>
462                 <factor>0.01</factor>
463                 <step>10</step>
464                 <axis>
465                         <x>0</x>
466                         <y>1</y>
467                         <z>0</z>
468                 </axis>
469         </animation>
470
471         <animation>
472                 <type>textranslate</type>
473                 <object-name>HDG.led3</object-name>
474                 <property>autopilot/settings/heading-bug-deg</property>
475                 <factor>0.1</factor>
476                 <step>1</step>
477                 <axis>
478                         <x>0</x>
479                         <y>1</y>
480                         <z>0</z>
481                 </axis>
482         </animation>
483
484         <animation>
485                 <type>select</type>
486                 <object-name>trk.ind</object-name>
487                 <object-name>TRK.led1</object-name>
488                 <object-name>TRK.led2</object-name>
489                 <object-name>TRK.led3</object-name>
490                 <condition>
491                         <and>
492                                 <property>/systems/electrical/outputs/avionics</property>
493                                 <property>instrumentation/afds/inputs/hdg-trk-selected</property>
494                         </and>
495                 </condition>
496         </animation>
497
498         <animation>
499                 <type>textranslate</type>
500                 <object-name>TRK.led1</object-name>
501                 <property>autopilot/settings/track-bug-deg</property>
502                 <factor>0.001</factor>
503                 <step>100</step>
504                 <axis>
505                         <x>0</x>
506                         <y>1</y>
507                         <z>0</z>
508                 </axis>
509         </animation>
510
511         <animation>
512                 <type>textranslate</type>
513                 <object-name>TRK.led2</object-name>
514                 <property>autopilot/settings/track-bug-deg</property>
515                 <factor>0.01</factor>
516                 <step>10</step>
517                 <axis>
518                         <x>0</x>
519                         <y>1</y>
520                         <z>0</z>
521                 </axis>
522         </animation>
523
524         <animation>
525                 <type>textranslate</type>
526                 <object-name>TRK.led3</object-name>
527                 <property>autopilot/settings/track-bug-deg</property>
528                 <factor>0.1</factor>
529                 <step>1</step>
530                 <axis>
531                         <x>0</x>
532                         <y>1</y>
533                         <z>0</z>
534                 </axis>
535         </animation>
536
537 <!-- VS/FPA -->
538         <animation>
539                 <type>select</type>
540                 <object-name>vs.ind</object-name>
541                 <condition>
542                         <and>
543                                 <property>/systems/electrical/outputs/avionics</property>
544                                 <not>
545                                         <property>instrumentation/afds/inputs/vs-fpa-selected</property>
546                                 </not>
547                         </and>
548                 </condition>
549         </animation>
550
551         <animation>
552                 <type>select</type>
553                 <object-name>VS.led1</object-name>
554                 <object-name>VS.led2</object-name>
555                 <object-name>VS.led3</object-name>
556                 <object-name>VS.led4</object-name>
557                 <condition>
558                         <and>
559                                 <property>/systems/electrical/outputs/avionics</property>
560                                 <equals>
561                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
562                                         <value>V/S</value>
563                                 </equals>
564                                 <not>
565                                         <property>instrumentation/afds/inputs/vs-fpa-selected</property>
566                                 </not>
567                                 <equals>
568                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
569                                         <value>V/S</value>
570                                 </equals>
571                         </and>
572                 </condition>
573         </animation>
574
575         <animation>
576                 <type>select</type>
577                 <object-name>VS.ledminus</object-name>
578                 <condition>
579                         <and>
580                            <not>
581                                         <property>instrumentation/afds/inputs/vs-fpa-selected</property>
582                            </not>
583                         <less-than>
584                                 <property>autopilot/settings/vertical-speed-fpm</property>
585                                 <value>0</value>
586                         </less-than>
587                                 <equals>
588                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
589                                         <value>V/S</value>
590                                 </equals>
591                         </and>
592                 </condition>
593         </animation>
594
595         <animation>
596                 <type>textranslate</type>
597                 <object-name>VS.led1</object-name>
598                 <property>instrumentation/afds/settings/vs-display</property>
599                 <factor>0.0001</factor>
600                 <step>1000</step>
601                 <axis>
602                         <x>0</x>
603                         <y>1</y>
604                         <z>0</z>
605                 </axis>
606         </animation>
607
608         <animation>
609                 <type>textranslate</type>
610                 <object-name>VS.led2</object-name>
611                 <property>instrumentation/afds/settings/vs-display</property>
612                 <factor>0.001</factor>
613                 <step>100</step>
614                 <axis>
615                         <x>0</x>
616                         <y>1</y>
617                         <z>0</z>
618                 </axis>
619         </animation>
620
621         <animation>
622                 <type>textranslate</type>
623                 <object-name>VS.led3</object-name>
624                 <property>instrumentation/afds/settings/vs-display</property>
625                 <factor>0.01</factor>
626                 <step>10</step>
627                 <axis>
628                         <x>0</x>
629                         <y>1</y>
630                         <z>0</z>
631                 </axis>
632         </animation>
633
634         <animation>
635                 <type>textranslate</type>
636                 <object-name>VS.led4</object-name>
637                 <property>instrumentation/afds/settings/vs-display</property>
638                 <factor>0.1</factor>
639                 <step>1</step>
640                 <axis>
641                         <x>0</x>
642                         <y>1</y>
643                         <z>0</z>
644                 </axis>
645         </animation>
646
647         <animation>
648                 <type>select</type>
649                 <object-name>fpa.ind</object-name>
650                 <condition>
651                         <and>
652                                 <property>/systems/electrical/outputs/avionics</property>
653                                 <property>instrumentation/afds/inputs/vs-fpa-selected</property>
654                         </and>
655                 </condition>
656         </animation>
657
658         <animation>
659                 <type>select</type>
660                 <object-name>FPA.led1</object-name>
661                 <object-name>FPA.led2</object-name>
662                 <condition>
663                         <and>
664                                 <property>/systems/electrical/outputs/avionics</property>
665                                 <property>instrumentation/afds/inputs/vs-fpa-selected</property>
666                                 <equals>
667                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
668                                         <value>FPA</value>
669                                 </equals>
670                         </and>
671                 </condition>
672         </animation>
673
674         <animation>
675                 <type>select</type>
676                 <object-name>FPA.ledminus</object-name>
677                 <condition>
678                         <property>instrumentation/afds/settings/fpa-display</property>
679                         <and>
680                                 <property>instrumentation/afds/inputs/vs-fpa-selected</property>
681                         <less-than>
682                                 <property>autopilot/settings/flight-path-angle</property>
683                                 <value>0</value>
684                         </less-than>
685                                 <equals>
686                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
687                                         <value>FPA</value>
688                                 </equals>
689                         </and>
690                 </condition>
691         </animation>
692
693         <animation>
694                 <type>textranslate</type>
695                 <object-name>FPA.led1</object-name>
696                 <property>instrumentation/afds/settings/fpa-display</property>
697                 <factor>0.1</factor>
698                 <step>1</step>
699                 <bias>0.05</bias>
700                 <axis>
701                         <x>0</x>
702                         <y>1</y>
703                         <z>0</z>
704                 </axis>
705         </animation>
706
707         <animation>
708                 <type>textranslate</type>
709                 <object-name>FPA.led2</object-name>
710                 <property>instrumentation/afds/settings/fpa-display</property>
711                 <factor>1.0</factor>
712                 <step>0.10</step>
713                 <bias>0.05</bias>
714                 <axis>
715                         <x>0</x>
716                         <y>1</y>
717                         <z>0</z>
718                 </axis>
719         </animation>
720
721 <!-- Altitude -->
722
723         <animation>
724                 <type>select</type>
725                 <object-name>alt.ind</object-name>
726                 <object-name>ALT.led1</object-name>
727                 <object-name>ALT.led2</object-name>
728                 <object-name>ALT.led3</object-name>
729                 <object-name>ALT.led4</object-name>
730                 <object-name>ALT.led5</object-name>
731                 <condition>
732                         <property>/systems/electrical/outputs/avionics</property>
733                 </condition>
734         </animation>
735
736         <animation>
737                 <type>textranslate</type>
738                 <object-name>ALT.led1</object-name>
739                 <property>autopilot/settings/counter-set-altitude-ft</property>
740                 <factor>0.00001</factor>
741                 <step>10000</step>
742                 <axis>
743                         <x>0</x>
744                         <y>1</y>
745                         <z>0</z>
746                 </axis>
747         </animation>
748
749         <animation>
750                 <type>textranslate</type>
751                 <object-name>ALT.led2</object-name>
752                 <property>autopilot/settings/counter-set-altitude-ft</property>
753                 <factor>0.0001</factor>
754                 <step>1000</step>
755                 <axis>
756                         <x>0</x>
757                         <y>1</y>
758                         <z>0</z>
759                 </axis>
760         </animation>
761
762         <animation>
763                 <type>textranslate</type>
764                 <object-name>ALT.led3</object-name>
765                 <property>autopilot/settings/counter-set-altitude-ft</property>
766                 <factor>0.001</factor>
767                 <step>100</step>
768                 <axis>
769                         <x>0</x>
770                         <y>1</y>
771                         <z>0</z>
772                 </axis>
773         </animation>
774
775         <animation>
776                 <type>textranslate</type>
777                 <object-name>ALT.led4</object-name>
778                 <property>autopilot/settings/counter-set-altitude-ft</property>
779                 <factor>0.01</factor>
780                 <step>10</step>
781                 <axis>
782                         <x>0</x>
783                         <y>1</y>
784                         <z>0</z>
785                 </axis>
786         </animation>
787
788         <animation>
789                 <type>textranslate</type>
790                 <object-name>ALT.led5</object-name>
791                 <property>autopilot/settings/counter-set-altitude-ft</property>
792                 <factor>0.1</factor>
793                 <step>1</step>
794                 <axis>
795                         <x>0</x>
796                         <y>1</y>
797                         <z>0</z>
798                 </axis>
799         </animation>
800
801
802
803 <!--
804
805 ###########   HOTSPOTS ###########
806
807  -->
808         <animation>
809                 <type>pick</type>
810                 <object-name>MACH.toggle</object-name>
811                 <action>
812                         <button>0</button>
813                         <repeatable>false</repeatable>
814                         <binding>
815                           <condition>
816                                  <greater-than-equals>
817                                         <property>instrumentation/airspeed-indicator/indicated-mach</property>
818                                         <value>0.40</value>
819                                  </greater-than-equals>
820                            </condition>
821                            <command>property-toggle</command>
822                            <property>instrumentation/afds/inputs/ias-mach-selected</property>
823                         </binding>
824                         <binding>
825                                 <command>nasal</command>
826                                 <script>controls.click(4);</script>
827                         </binding>
828                 </action>
829         </animation>
830
831         <animation>
832                 <type>pick</type>
833                 <object-name>TRK.toggle</object-name>
834                 <action>
835                         <button>0</button>
836                         <repeatable>false</repeatable>
837                         <binding>
838                                 <command>property-toggle</command>
839                                 <property>instrumentation/afds/inputs/hdg-trk-selected</property>
840                         </binding>
841                         <binding>
842                                 <command>nasal</command>
843                                 <script>controls.click(4);</script>
844                         </binding>
845                 </action>
846         </animation>
847
848         <animation>
849                 <type>pick</type>
850                 <object-name>FPA.toggle</object-name>
851                 <action>
852                         <button>0</button>
853                         <repeatable>false</repeatable>
854                         <binding>
855                                 <command>property-toggle</command>
856                                 <property>instrumentation/afds/inputs/vs-fpa-selected</property>
857                         </binding>
858                         <binding>
859                                 <command>nasal</command>
860                                 <script>controls.click(3);</script>
861                         </binding>
862                 </action>
863         </animation>
864
865         <animation>
866                 <type>pick</type>
867                 <object-name>THARM.switch</object-name>
868                 <action>
869                         <button>0</button>
870                         <repeatable>false</repeatable>
871                         <binding>
872                                 <command>property-toggle</command>
873                                 <property>instrumentation/afds/inputs/at-armed</property>
874                         </binding>
875                         <binding>
876                                 <command>nasal</command>
877                                 <script>controls.click(3);</script>
878                         </binding>
879                 </action>
880         </animation>
881
882         <animation>
883                 <type>pick</type>
884                 <object-name>THARM1.switch</object-name>
885                 <action>
886                         <button>0</button>
887                         <repeatable>false</repeatable>
888                         <binding>
889                                 <command>property-toggle</command>
890                                 <property>instrumentation/afds/inputs/at-armed[1]</property>
891                         </binding>
892                         <binding>
893                                 <command>nasal</command>
894                                 <script>controls.click(4);</script>
895                         </binding>
896                 </action>
897         </animation>
898
899         <animation>
900                 <type>pick</type>
901                 <object-name>AP.btn</object-name>
902                 <action>
903                         <button>0</button>
904                         <repeatable>false</repeatable>
905                         <binding>
906                                 <command>property-toggle</command>
907                                 <property>instrumentation/afds/inputs/AP</property>
908                         </binding>
909                         <binding>
910                                 <command>nasal</command>
911                                 <script>
912                                         controls.click(3);
913                                         b777.afds.input(3,3);
914                                 </script>
915                         </binding>
916                 </action>
917         </animation>
918
919         <animation>
920                 <type>pick</type>
921                 <object-name>FD-on</object-name>
922                 <action>
923                         <button>0</button>
924                         <repeatable>false</repeatable>
925                         <binding>
926                                 <command>property-toggle</command>
927                                 <property>instrumentation/afds/inputs/FD</property>
928                         </binding>
929                         <binding>
930                                 <command>nasal</command>
931                                 <script>
932                                         controls.click(1);
933                                         b777.afds.input(3,2);
934                                 </script>
935                         </binding>
936                 </action>
937         </animation>
938
939         <animation>
940                 <type>pick</type>
941                 <object-name>HDG.btn</object-name>
942                 <action>
943                         <button>0</button>
944                         <repeatable>false</repeatable>
945                         <binding>
946                                 <command>nasal</command>
947                                 <script>controls.click(4);b777.afds.input(0,2);</script>
948                         </binding>
949                 </action>
950         </animation>
951
952         <animation>
953                 <type>pick</type>
954                 <object-name>HDG.sel</object-name>
955                 <action>
956                         <button>0</button>
957                         <repeatable>false</repeatable>
958                         <binding>
959                                 <command>nasal</command>
960                                 <script>controls.click(4);b777.afds.input(0,1);</script>
961                         </binding>
962                 </action>
963         </animation>
964
965         <animation>
966                 <type>pick</type>
967                 <object-name>LNAV.btn</object-name>
968                 <action>
969                         <button>0</button>
970                         <repeatable>false</repeatable>
971                         <binding>
972                                 <command>nasal</command>
973                                 <script>controls.click(3);b777.afds.input(0,3);</script>
974                         </binding>
975                 </action>
976         </animation>
977
978         <animation>
979                 <type>pick</type>
980                 <object-name>VNAV.btn</object-name>
981                 <action>
982                         <button>0</button>
983                         <repeatable>false</repeatable>
984                         <binding>
985                                 <command>nasal</command>
986                                 <script>controls.click(4);b777.afds.input(1,5);</script>
987                         </binding>
988                 </action>
989         </animation>
990
991         <animation>
992                 <type>pick</type>
993                 <object-name>AT.btn</object-name>
994                 <action>
995                         <button>0</button>
996                         <repeatable>false</repeatable>
997                         <binding>
998                                 <command>nasal</command>
999                                 <script>controls.click(3);b777.afds.input(2,5);</script>
1000                         </binding>
1001                 </action>
1002         </animation>
1003
1004         <animation>
1005                 <type>pick</type>
1006                 <object-name>FLCH.btn</object-name>
1007                 <action>
1008                         <button>0</button>
1009                         <repeatable>false</repeatable>
1010                    <binding>
1011                                 <command>nasal</command>
1012                                 <script>controls.click(4);b777.afds.input(1,8);</script>
1013                         </binding>
1014                 </action>
1015         </animation>
1016
1017         <!--animation>
1018                 <type>pick</type>
1019                 <object-name>CLB.btn</object-name>
1020                 <action>
1021                         <button>0</button>
1022                         <repeatable>false</repeatable>
1023                         <binding>
1024                                 <command>nasal</command>
1025                                 <script>controls.click(3);b777.afds.input(2,3);</script>
1026                         </binding>
1027                 </action>
1028         </animation-->
1029
1030         <animation>
1031                 <type>pick</type>
1032                 <object-name>VS.btn</object-name>
1033                 <action>
1034                         <button>0</button>
1035                         <repeatable>false</repeatable>
1036                         <binding>
1037                                 <command>nasal</command>
1038                                 <script>controls.click(4);b777.afds.input(1,2);</script>
1039                         </binding>
1040                 </action>
1041         </animation>
1042
1043         <animation>
1044                 <type>pick</type>
1045                 <object-name>ALT.btn</object-name>
1046                 <action>
1047                         <button>0</button>
1048                         <repeatable>false</repeatable>
1049                         <binding>
1050                                 <command>nasal</command>
1051                                 <script>controls.click(3);b777.afds.input(1,1);</script>
1052                         </binding>
1053                 </action>
1054         </animation>
1055
1056         <animation>
1057                 <type>pick</type>
1058                 <object-name>LOC.btn</object-name>
1059                 <action>
1060                         <button>0</button>
1061                         <repeatable>false</repeatable>
1062                          <binding>
1063                                 <command>nasal</command>
1064                                 <script>controls.click(4);b777.afds.input(3,0);</script>
1065                         </binding>
1066                 </action>
1067         </animation>
1068
1069         <animation>
1070                 <type>pick</type>
1071                 <object-name>APP.btn</object-name>
1072                 <action>
1073                         <button>0</button>
1074                         <repeatable>false</repeatable>
1075                         <binding>
1076                                 <command>nasal</command>
1077                                 <script>controls.click(4);b777.afds.input(3,1);</script>
1078                         </binding>
1079                 </action>
1080         </animation>
1081
1082         <animation>
1083                 <type>pick</type>
1084                 <object-name>AP.disengage</object-name>
1085                 <action>
1086                         <button>0</button>
1087                         <repeatable>false</repeatable>
1088                         <binding>
1089                                 <command>property-toggle</command>
1090                                 <property>instrumentation/afds/inputs/AP-disengage</property>
1091                         </binding>
1092                         <binding>
1093                                 <command>property-assign</command>
1094                                 <property>instrumentation/afds/inputs/AP</property>
1095                                 <value>0</value>
1096                         </binding>
1097                         <binding>
1098                                 <command>nasal</command>
1099                                 <script>controls.click(1);</script>
1100                         </binding>
1101                 </action>
1102         </animation>
1103
1104    <animation>
1105                 <type>pick</type>
1106            <object-name>Pitchwheel.dec</object-name>
1107            <object-name>Pitchwheel.inc</object-name>
1108                 <action>
1109                         <button>0</button> <!--  left button -->
1110                         <repeatable>true</repeatable>
1111                         <binding>
1112                                 <condition>
1113                                         <equals>
1114                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
1115                                                 <value>V/S</value>
1116                                         </equals>
1117                                 </condition>
1118                                 <command>property-adjust</command>
1119                                 <property>autopilot/settings/vertical-speed-fpm</property>
1120                                 <step>-100</step>
1121                                 <min>-8000</min>
1122                                 <max>6000</max>
1123                         </binding>
1124                         <binding>
1125                                 <condition>
1126                                         <equals>
1127                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
1128                                                 <value>FPA</value>
1129                                         </equals>
1130                                 </condition>
1131                                 <command>property-adjust</command>
1132                                 <property>autopilot/settings/flight-path-angle</property>
1133                                 <step>-0.1</step>
1134                                 <min>-9.9</min>
1135                                 <max>9.9</max>
1136                         </binding>
1137                         <binding>
1138                                 <command>nasal</command>
1139                                 <script>
1140                                         controls.click(5);
1141                                         b777.afds.input(1,255);
1142                                 </script>
1143                         </binding>
1144                 </action>
1145         </animation>
1146
1147         <animation>
1148                 <type>pick</type>
1149                 <object-name>Pitchwheel.dec</object-name>
1150                 <object-name>Pitchwheel.inc</object-name>
1151            <action>
1152                         <button>1</button> <!--  center button -->
1153                         <repeatable>true</repeatable>
1154                         <binding>
1155                         <condition>
1156                                 <equals>
1157                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1158                                         <value>V/S</value>
1159                                 </equals>
1160                         </condition>
1161                         <command>property-adjust</command>
1162                         <property>autopilot/settings/vertical-speed-fpm</property>
1163                         <step>100</step>
1164                         <min>-8000</min>
1165                         <max>6000</max>
1166                         </binding>
1167                         <binding>
1168                                 <condition>
1169                                         <equals>
1170                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
1171                                                 <value>FPA</value>
1172                                         </equals>
1173                                 </condition>
1174                                 <command>property-adjust</command>
1175                                 <property>autopilot/settings/flight-path-angle</property>
1176                                 <step>0.1</step>
1177                                 <min>-9.9</min>
1178                                 <max>9.9</max>
1179                         </binding>
1180                         <binding>
1181                                 <command>nasal</command>
1182                                 <script>
1183                                         controls.click(5);
1184                                         b777.afds.input(1,255);
1185                                 </script>
1186                         </binding>
1187                 </action>
1188         </animation>
1189
1190    <animation>
1191                 <type>pick</type>
1192            <object-name>Pitchwheel.dec</object-name>
1193            <object-name>Pitchwheel.inc</object-name>
1194                 <action>
1195                         <button>3</button> <!--  scroll up -->
1196                         <repeatable>false</repeatable>
1197                         <binding>
1198                                 <condition>
1199                                         <equals>
1200                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
1201                                                 <value>V/S</value>
1202                                         </equals>
1203                                 </condition>
1204                                 <command>property-adjust</command>
1205                                 <property>autopilot/settings/vertical-speed-fpm</property>
1206                                 <step>-100</step>
1207                                 <min>-8000</min>
1208                                 <max>6000</max>
1209                         </binding>
1210                         <binding>
1211                                 <condition>
1212                                         <equals>
1213                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
1214                                                 <value>FPA</value>
1215                                         </equals>
1216                                 </condition>
1217                                 <command>property-adjust</command>
1218                                 <property>autopilot/settings/flight-path-angle</property>
1219                                 <step>-0.1</step>
1220                                 <min>-9.9</min>
1221                                 <max>9.9</max>
1222                         </binding>
1223                         <binding>
1224                                 <command>nasal</command>
1225                                 <script>
1226                                         controls.click(5);
1227                                         b777.afds.input(1,255);
1228                                 </script>
1229                         </binding>
1230                 </action>
1231         </animation>
1232
1233         <animation>
1234                 <type>pick</type>
1235                 <object-name>Pitchwheel.dec</object-name>
1236                 <object-name>Pitchwheel.inc</object-name>
1237            <action>
1238                         <button>4</button> <!--  scroll down -->
1239                         <repeatable>false</repeatable>
1240                         <binding>
1241                         <condition>
1242                                 <equals>
1243                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1244                                         <value>V/S</value>
1245                                 </equals>
1246                         </condition>
1247                         <command>property-adjust</command>
1248                         <property>autopilot/settings/vertical-speed-fpm</property>
1249                         <step>100</step>
1250                         <min>-8000</min>
1251                         <max>6000</max>
1252                         </binding>
1253                         <binding>
1254                                 <condition>
1255                                         <equals>
1256                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
1257                                                 <value>FPA</value>
1258                                         </equals>
1259                                 </condition>
1260                                 <command>property-adjust</command>
1261                                 <property>autopilot/settings/flight-path-angle</property>
1262                                 <step>0.1</step>
1263                                 <min>-9.9</min>
1264                                 <max>9.9</max>
1265                         </binding>
1266                         <binding>
1267                                 <command>nasal</command>
1268                                 <script>
1269                                         controls.click(5);
1270                                         b777.afds.input(1,255);
1271                                 </script>
1272                         </binding>
1273                 </action>
1274         </animation>
1275
1276         <!-- Continental B777 manual, Sec. 6.4, Page 32:
1277                  MCP/SPD range is 100 - 399 KIAS, 0.40 - 0.95 MACH -->
1278     <animation>
1279                 <type>pick</type>
1280                 <object-name>SPD.dec</object-name>
1281                 <object-name>SPD.inc</object-name>
1282                 <object-name>IAS.dwn</object-name>
1283                 <object-name>IAS.up</object-name>
1284                 <action>
1285                         <button>0</button> <!--  left button -->
1286                         <repeatable>true</repeatable>
1287                         <binding>
1288                                 <condition>
1289                                         <and>
1290                                                 <property>/systems/electrical/outputs/avionics</property>
1291                                                 <not>
1292                                                         <property>instrumentation/afds/inputs/ias-mach-selected</property>
1293                                                 </not>
1294                                         </and>
1295                                 </condition>
1296                                 <command>property-adjust</command>
1297                                 <property>autopilot/settings/target-speed-kt</property>
1298                                 <step>1</step>
1299                                 <min>100</min>
1300                                 <max>390</max>
1301                         </binding>
1302                         <binding>
1303                                 <condition>
1304                                         <and>
1305                                                 <property>/systems/electrical/outputs/avionics</property>
1306                                                 <property>instrumentation/afds/inputs/ias-mach-selected</property>
1307                                         </and>
1308                                 </condition>
1309                                 <command>property-adjust</command>
1310                                 <property>autopilot/settings/target-speed-mach</property>
1311                                 <step>0.001</step>
1312                                 <min>0.4</min>
1313                                 <max>0.95</max>
1314                         </binding>
1315                         <binding>
1316                                 <command>nasal</command>
1317                                 <script>controls.click(5);</script>
1318                         </binding>
1319                 </action>
1320         </animation>
1321     <animation>
1322                 <type>pick</type>
1323                 <object-name>SPD.dec</object-name>
1324                 <object-name>SPD.inc</object-name>
1325                 <object-name>IAS.dwn</object-name>
1326                 <object-name>IAS.up</object-name>
1327                 <action>
1328                         <button>1</button> <!--  center button -->
1329                         <repeatable>true</repeatable>
1330                         <binding>
1331                                 <condition>
1332                                         <and>
1333                                                 <property>/systems/electrical/outputs/avionics</property>
1334                                                 <not>
1335                                                         <property>instrumentation/afds/inputs/ias-mach-selected</property>
1336                                                 </not>
1337                                         </and>
1338                                 </condition>
1339                                 <command>property-adjust</command>
1340                                 <property>autopilot/settings/target-speed-kt</property>
1341                                 <step>-1</step>
1342                                 <min>100</min>
1343                                 <max>390</max>
1344                         </binding>
1345                         <binding>
1346                                 <condition>
1347                                         <and>
1348                                                 <property>/systems/electrical/outputs/avionics</property>
1349                                                 <property>instrumentation/afds/inputs/ias-mach-selected</property>
1350                                         </and>
1351                                 </condition>
1352                                 <command>property-adjust</command>
1353                                 <property>autopilot/settings/target-speed-mach</property>
1354                                 <step>-0.001</step>
1355                                 <min>0.4</min>
1356                                 <max>0.95</max>
1357                         </binding>
1358                         <binding>
1359                                 <command>nasal</command>
1360                                 <script>controls.click(5);</script>
1361                         </binding>
1362                 </action>
1363         </animation>
1364
1365    <animation>
1366                 <type>pick</type>
1367                 <object-name>SPD.knob</object-name>
1368                 <action>
1369                         <button>0</button> <!--  manual intervention -->
1370                         <repeatable>false</repeatable>
1371                         <binding>
1372                                 <condition>
1373                                         <equals>
1374                                                 <property>instrumentation/afds/ap-modes/pitch-mode</property>
1375                                                 <value>VNAV PTH</value>
1376                                         </equals>
1377                                 </condition>
1378                                 <command>property-toggle</command>
1379                                 <property>instrumentation/afds/settings/manual-intervention</property>
1380                         </binding>
1381                         <binding>
1382                                 <command>nasal</command>
1383                                 <script>
1384                                         controls.click(3);
1385                                 </script>
1386                         </binding>
1387                 </action>
1388         </animation>
1389
1390  <animation>
1391                 <type>pick</type>
1392                 <object-name>SPD.knob</object-name>
1393                 <object-name>SPD.dec</object-name>
1394                 <object-name>SPD.inc</object-name>
1395                 <object-name>IAS.dwn</object-name>
1396                 <object-name>IAS.up</object-name>
1397                 <action>
1398                         <button>3</button> <!--  scroll up -->
1399                         <repeatable>false</repeatable>
1400                         <binding>
1401                                 <condition>
1402                                         <and>
1403                                                 <property>/systems/electrical/outputs/avionics</property>
1404                                                 <not>
1405                                                         <property>instrumentation/afds/inputs/ias-mach-selected</property>
1406                                                 </not>
1407                                         </and>
1408                                 </condition>
1409                                 <command>property-adjust</command>
1410                                 <property>autopilot/settings/target-speed-kt</property>
1411                                 <step>1</step>
1412                                 <min>100</min>
1413                                 <max>390</max>
1414                         </binding>
1415                         <binding>
1416                                 <condition>
1417                                         <and>
1418                                                 <property>/systems/electrical/outputs/avionics</property>
1419                                                 <property>instrumentation/afds/inputs/ias-mach-selected</property>
1420                                         </and>
1421                                 </condition>
1422                                 <command>property-adjust</command>
1423                                 <property>autopilot/settings/target-speed-mach</property>
1424                                 <step>0.001</step>
1425                                 <min>0.4</min>
1426                                 <max>0.95</max>
1427                         </binding>
1428                         <binding>
1429                                 <command>nasal</command>
1430                                 <script>controls.click(5);</script>
1431                         </binding>
1432                 </action>
1433         </animation>
1434
1435    <animation>
1436                 <type>pick</type>
1437                 <object-name>SPD.knob</object-name>
1438                 <object-name>SPD.dec</object-name>
1439                 <object-name>SPD.inc</object-name>
1440                 <object-name>IAS.dwn</object-name>
1441                 <object-name>IAS.up</object-name>
1442                 <action>
1443                         <button>4</button> <!--  scroll down -->
1444                         <repeatable>false</repeatable>
1445                         <binding>
1446                                 <condition>
1447                                         <and>
1448                                                 <property>/systems/electrical/outputs/avionics</property>
1449                                                 <not>
1450                                                         <property>instrumentation/afds/inputs/ias-mach-selected</property>
1451                                                 </not>
1452                                         </and>
1453                                 </condition>
1454                                 <command>property-adjust</command>
1455                                 <property>autopilot/settings/target-speed-kt</property>
1456                                 <step>-1</step>
1457                                 <min>100</min>
1458                                 <max>390</max>
1459                         </binding>
1460                         <binding>
1461                                 <condition>
1462                                         <and>
1463                                                 <property>/systems/electrical/outputs/avionics</property>
1464                                                 <property>instrumentation/afds/inputs/ias-mach-selected</property>
1465                                         </and>
1466                                 </condition>
1467                                 <command>property-adjust</command>
1468                                 <property>autopilot/settings/target-speed-mach</property>
1469                                 <step>-0.001</step>
1470                                 <min>0.4</min>
1471                                 <max>0.95</max>
1472                         </binding>
1473                         <binding>
1474                                 <command>nasal</command>
1475                                 <script>controls.click(5);</script>
1476                         </binding>
1477                 </action>
1478         </animation>
1479
1480         <animation>
1481                 <type>pick</type>
1482                 <object-name>HDG.inc</object-name>
1483                 <object-name>HDG.dec</object-name>
1484                 <action>
1485                         <button>0</button>
1486                         <repeatable>true</repeatable>
1487                         <binding>
1488                                 <condition>
1489                                         <and>
1490                                                 <property>/systems/electrical/outputs/avionics</property>
1491                                                 <not>
1492                                                         <property>instrumentation/afds/inputs/hdg-trk-selected</property>
1493                                                 </not>
1494                                         </and>
1495                                 </condition>
1496                                 <command>property-adjust</command>
1497                                 <property>autopilot/settings/heading-bug-deg</property>
1498                                 <step type="int">1</step>
1499                                 <min type="int">1</min>
1500                                 <max type="int">361</max>
1501                                 <wrap type="bool">true</wrap>
1502                         </binding>
1503                         <binding>
1504                                 <condition>
1505                                         <and>
1506                                                 <property>/systems/electrical/outputs/avionics</property>
1507                                                 <property>instrumentation/afds/inputs/hdg-trk-selected</property>
1508                                         </and>
1509                                 </condition>
1510                                 <command>property-adjust</command>
1511                                 <property>autopilot/settings/track-bug-deg</property>
1512                                 <step type="int">1</step>
1513                                 <min type="int">1</min>
1514                                 <max type="int">361</max>
1515                                 <wrap type="bool">true</wrap>
1516                         </binding>
1517                         <binding>
1518                                 <command>nasal</command>
1519                                 <script>controls.click(5);</script>
1520                         </binding>
1521                 </action>
1522         </animation>
1523
1524                 <animation>
1525                 <type>pick</type>
1526                 <object-name>HDG.inc</object-name>
1527                 <object-name>HDG.dec</object-name>
1528                 <action>
1529                         <button>1</button>
1530                         <repeatable>true</repeatable>
1531                         <binding>
1532                                 <condition>
1533                                         <and>
1534                                                 <property>/systems/electrical/outputs/avionics</property>
1535                                                 <not>
1536                                                         <property>instrumentation/afds/inputs/hdg-trk-selected</property>
1537                                                 </not>
1538                                         </and>
1539                                 </condition>
1540                                 <command>property-adjust</command>
1541                                 <property>autopilot/settings/heading-bug-deg</property>
1542                                 <step type="int">-1</step>
1543                                 <min type="int">1</min>
1544                                 <max type="int">361</max>
1545                                 <wrap type="bool">true</wrap>
1546                         </binding>
1547                         <binding>
1548                                 <condition>
1549                                         <and>
1550                                                 <property>/systems/electrical/outputs/avionics</property>
1551                                                 <property>instrumentation/afds/inputs/hdg-trk-selected</property>
1552                                         </and>
1553                                 </condition>
1554                                 <command>property-adjust</command>
1555                                 <property>autopilot/settings/track-bug-deg</property>
1556                                 <step type="int">-1</step>
1557                                 <min type="int">1</min>
1558                                 <max type="int">361</max>
1559                                 <wrap type="bool">true</wrap>
1560                         </binding>
1561                         <binding>
1562                                 <command>nasal</command>
1563                                 <script>controls.click(5);</script>
1564                         </binding>
1565                 </action>
1566         </animation>
1567         
1568         <animation>
1569                 <type>pick</type>
1570                 <object-name>HDG.inc</object-name>
1571                 <object-name>HDG.dec</object-name>
1572                 <object-name>HDG.sel</object-name>
1573                 <object-name>HDG.knob</object-name>
1574                 <action>
1575                         <button>3</button> <!--  scroll up -->
1576                         <repeatable>true</repeatable>
1577                         <binding>
1578                                 <condition>
1579                                         <and>
1580                                                 <property>/systems/electrical/outputs/avionics</property>
1581                                                 <not>
1582                                                         <property>instrumentation/afds/inputs/hdg-trk-selected</property>
1583                                                 </not>
1584                                         </and>
1585                                 </condition>
1586                                 <command>property-adjust</command>
1587                                 <property>autopilot/settings/heading-bug-deg</property>
1588                                 <step type="int">1</step>
1589                                 <min type="int">1</min>
1590                                 <max type="int">361</max>
1591                                 <wrap type="bool">true</wrap>
1592                         </binding>
1593                         <binding>
1594                                 <condition>
1595                                         <and>
1596                                                 <property>/systems/electrical/outputs/avionics</property>
1597                                                 <property>instrumentation/afds/inputs/hdg-trk-selected</property>
1598                                         </and>
1599                                 </condition>
1600                                 <command>property-adjust</command>
1601                                 <property>autopilot/settings/track-bug-deg</property>
1602                                 <step type="int">1</step>
1603                                 <min type="int">1</min>
1604                                 <max type="int">361</max>
1605                                 <wrap type="bool">true</wrap>
1606                         </binding>
1607                         <binding>
1608                                 <command>nasal</command>
1609                                 <script>controls.click(5);</script>
1610                         </binding>
1611                 </action>
1612         </animation>
1613
1614         <animation>
1615                 <type>pick</type>
1616                 <object-name>HDG.inc</object-name>
1617                 <object-name>HDG.dec</object-name>
1618                 <object-name>HDG.sel</object-name>
1619                 <object-name>HDG.knob</object-name>
1620                 <action>
1621                         <button>4</button> <!--  scroll down -->
1622                         <repeatable>true</repeatable>
1623                         <binding>
1624                                 <condition>
1625                                         <and>
1626                                                 <property>/systems/electrical/outputs/avionics</property>
1627                                                 <not>
1628                                                         <property>instrumentation/afds/inputs/hdg-trk-selected</property>
1629                                                 </not>
1630                                         </and>
1631                                 </condition>
1632                                 <command>property-adjust</command>
1633                                 <property>autopilot/settings/heading-bug-deg</property>
1634                                 <step type="int">-1</step>
1635                                 <min type="int">1</min>
1636                                 <max type="int">361</max>
1637                                 <wrap type="bool">true</wrap>
1638                         </binding>
1639                         <binding>
1640                                 <condition>
1641                                         <and>
1642                                                 <property>/systems/electrical/outputs/avionics</property>
1643                                                 <property>instrumentation/afds/inputs/hdg-trk-selected</property>
1644                                         </and>
1645                                 </condition>
1646                                 <command>property-adjust</command>
1647                                 <property>autopilot/settings/track-bug-deg</property>
1648                                 <step type="int">-1</step>
1649                                 <min type="int">1</min>
1650                                 <max type="int">361</max>
1651                                 <wrap type="bool">true</wrap>
1652                         </binding>
1653                         <binding>
1654                                 <command>nasal</command>
1655                                 <script>controls.click(5);</script>
1656                         </binding>
1657                 </action>
1658         </animation>
1659
1660         <animation>
1661                 <type>pick</type>
1662                 <object-name>Bank.inc</object-name>
1663                 <object-name>Bank.dec</object-name>
1664                 <action>
1665                         <button>0</button>
1666                         <repeatable>true</repeatable>
1667                         <binding>
1668                                 <condition>
1669                                         <property>/systems/electrical/outputs/avionics</property>
1670                                 </condition>
1671                                 <command>property-adjust</command>
1672                                 <property>instrumentation/afds/inputs/bank-limit-switch</property>
1673                                 <step>1</step>
1674                                 <min>0</min>
1675                                 <max>5</max>
1676                                 <wrap>false</wrap>
1677                         </binding>
1678                         <binding>
1679                                 <command>nasal</command>
1680                                 <script>controls.click(2);</script>
1681                         </binding>
1682                 </action>
1683         </animation>
1684
1685         <animation>
1686                 <type>pick</type>
1687                 <object-name>Bank.inc</object-name>
1688                 <object-name>Bank.dec</object-name>
1689                 <action>
1690                         <button>1</button>
1691                         <repeatable>true</repeatable>
1692                         <binding>
1693                                 <condition>
1694                                         <property>/systems/electrical/outputs/avionics</property>
1695                                 </condition>
1696                                 <command>property-adjust</command>
1697                                 <property>instrumentation/afds/inputs/bank-limit-switch</property>
1698                                 <step>-1</step>
1699                                 <min>0</min>
1700                                 <max>5</max>
1701                                 <wrap>false</wrap>
1702                         </binding>
1703                         <binding>
1704                                 <command>nasal</command>
1705                                 <script>controls.click(2);</script>
1706                         </binding>
1707                 </action>
1708         </animation>
1709
1710         <animation>
1711                 <type>pick</type>
1712                 <object-name>BLimit.knob</object-name>
1713                 <object-name>BLimit.knob.001</object-name>
1714                 <action>
1715                         <button>4</button> <!--  scroll down -->
1716                         <repeatable>false</repeatable>
1717                         <binding>
1718                                 <command>property-adjust</command>
1719                                 <property>instrumentation/afds/inputs/bank-limit-switch</property>
1720                                 <step>-1</step>
1721                                 <min>0</min>
1722                                 <max>5</max>
1723                                 <wrap>false</wrap>
1724                         </binding>
1725                         <binding>
1726                                 <command>nasal</command>
1727                                 <script>controls.click(2);</script>
1728                         </binding>
1729                 </action>
1730         </animation>
1731
1732         <animation>
1733                 <type>pick</type>
1734                 <object-name>BLimit.knob</object-name>
1735                 <object-name>BLimit.knob.001</object-name>
1736                 <action>
1737                         <button>3</button> <!--  scroll up -->
1738                         <repeatable>false</repeatable>
1739                         <binding>
1740                                 <command>property-adjust</command>
1741                                 <property>instrumentation/afds/inputs/bank-limit-switch</property>
1742                                 <step>1</step>
1743                                 <min>0</min>
1744                                 <max>5</max>
1745                                 <wrap>false</wrap>
1746                         </binding>
1747                         <binding>
1748                                 <command>nasal</command>
1749                                 <script>controls.click(2);</script>
1750                         </binding>
1751                 </action>
1752         </animation>
1753
1754         <animation>
1755                 <type>pick</type>
1756                 <object-name>ALTmode.auto</object-name>
1757                 <object-name>ALTmode.1000</object-name>
1758                 <object-name>ALTmode.knob</object-name>
1759                 <action>
1760                         <button>0</button>
1761                         <repeatable>false</repeatable>
1762                         <binding>
1763                                 <command>property-assign</command>
1764                                 <property>instrumentation/afds/inputs/alt-knob</property>
1765                                 <value>1</value>
1766                         </binding>
1767                         <binding>
1768                                 <command>nasal</command>
1769                                 <script>controls.click(4);</script>
1770                         </binding>
1771                 </action>
1772         </animation>
1773
1774         <animation>
1775                 <type>pick</type>
1776                 <object-name>ALTmode.1000</object-name>
1777                 <object-name>ALTmode.auto</object-name>
1778                 <object-name>ALTmode.knob</object-name>
1779                 <action>
1780                         <button>1</button>
1781                         <repeatable>false</repeatable>
1782                         <binding>
1783                                 <command>property-assign</command>
1784                                 <property>instrumentation/afds/inputs/alt-knob</property>
1785                                 <value>0</value>
1786                         </binding>
1787                         <binding>
1788                                 <command>nasal</command>
1789                                 <script>controls.click(4);</script>
1790                         </binding>
1791                 </action>
1792         </animation>
1793
1794         <animation>
1795                 <type>pick</type>
1796                 <object-name>ALTmode.auto</object-name>
1797                 <object-name>ALTmode.1000</object-name>
1798                 <object-name>ALTmode.knob</object-name>
1799                 <action>
1800                         <button>3</button> <!--  scroll up -->
1801                         <repeatable>false</repeatable>
1802                         <binding>
1803                                 <command>property-assign</command>
1804                                 <property>instrumentation/afds/inputs/alt-knob</property>
1805                                 <value>1</value>
1806                         </binding>
1807                         <binding>
1808                                 <command>nasal</command>
1809                                 <script>controls.click(4);</script>
1810                         </binding>
1811                 </action>
1812         </animation>
1813         <animation>
1814                 <type>pick</type>
1815                 <object-name>ALTmode.auto</object-name>
1816                 <object-name>ALTmode.1000</object-name>
1817                 <object-name>ALTmode.knob</object-name>
1818                 <action>
1819                         <button>4</button> <!--  scroll down -->
1820                         <repeatable>false</repeatable>
1821                         <binding>
1822                                 <command>property-assign</command>
1823                                 <property>instrumentation/afds/inputs/alt-knob</property>
1824                                 <value>0</value>
1825                         </binding>
1826                         <binding>
1827                                 <command>nasal</command>
1828                                 <script>controls.click(4);</script>
1829                         </binding>
1830                 </action>
1831         </animation>
1832
1833         <animation>
1834                 <type>pick</type>
1835                 <object-name>ALT.knob</object-name>
1836                 <action>
1837                         <button>4</button> <!--  scroll down -->
1838                         <repeatable>false</repeatable>
1839                         <binding>
1840                                 <condition>
1841                                         <and>
1842                                                 <property>/systems/electrical/outputs/avionics</property>
1843                                                 <not>
1844                                                         <property>instrumentation/afds/inputs/alt-knob</property>
1845                                                 </not>
1846                                                 <or>
1847                                                         <less-than>
1848                                                                 <property>instrumentation/afds/inputs/remaining-distance</property>
1849                                                                 <value>200</value>
1850                                                         </less-than>
1851                                                         <and>
1852                                                                 <not-equals>
1853                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1854                                                                         <value>VNAV PTH</value>
1855                                                                 </not-equals>
1856                                                                 <not-equals>
1857                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1858                                                                         <value>VNAV SPD</value>
1859                                                                 </not-equals>
1860                                                                 <not-equals>
1861                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1862                                                                         <value>VNAV ALT</value>
1863                                                                 </not-equals>
1864                                                         </and>
1865                                                 </or>
1866                                         </and>
1867                                 </condition>
1868                                 <command>property-adjust</command>
1869                                 <property>autopilot/settings/counter-set-altitude-ft</property>
1870                                 <step>-100</step>
1871                                 <min>0</min>
1872                                 <max>50000</max>
1873                         </binding>
1874                         <binding>
1875                                 <condition>
1876                                         <and>
1877                                                 <property>/systems/electrical/outputs/avionics</property>
1878                                                 <property>instrumentation/afds/inputs/alt-knob</property>
1879                                                 <or>
1880                                                         <less-than>
1881                                                                 <property>instrumentation/afds/inputs/remaining-distance</property>
1882                                                                 <value>200</value>
1883                                                         </less-than>
1884                                                         <and>
1885                                                                 <not-equals>
1886                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1887                                                                         <value>VNAV PTH</value>
1888                                                                 </not-equals>
1889                                                                 <not-equals>
1890                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1891                                                                         <value>VNAV SPD</value>
1892                                                                 </not-equals>
1893                                                                 <not-equals>
1894                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1895                                                                         <value>VNAV ALT</value>
1896                                                                 </not-equals>
1897                                                         </and>
1898                                                 </or>
1899                                         </and>
1900                                 </condition>
1901                                 <command>property-adjust</command>
1902                                 <property>autopilot/settings/counter-set-altitude-ft</property>
1903                                 <step>-1000</step>
1904                                 <min>0</min>
1905                                 <max>50000</max>
1906                         </binding>
1907                         <binding>
1908                                 <command>nasal</command>
1909                                 <script>controls.click(5);</script>
1910                         </binding>
1911                 </action>
1912         </animation>
1913
1914         <animation>
1915                 <type>pick</type>
1916                 <object-name>ALT.sel</object-name>
1917                 <action>
1918                         <button>1</button> <!--  center button  -->
1919                         <repeatable>true</repeatable>
1920                         <binding>
1921                                 <condition>
1922                                         <and>
1923                                                 <property>/systems/electrical/outputs/avionics</property>
1924                                                 <not>
1925                                                         <property>instrumentation/afds/inputs/alt-knob</property>
1926                                                 </not>
1927                                                 <or>
1928                                                         <less-than>
1929                                                                 <property>instrumentation/afds/inputs/remaining-distance</property>
1930                                                                 <value>200</value>
1931                                                         </less-than>
1932                                                         <and>
1933                                                                 <not-equals>
1934                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1935                                                                         <value>VNAV PTH</value>
1936                                                                 </not-equals>
1937                                                                 <not-equals>
1938                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1939                                                                         <value>VNAV SPD</value>
1940                                                                 </not-equals>
1941                                                                 <not-equals>
1942                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1943                                                                         <value>VNAV ALT</value>
1944                                                                 </not-equals>
1945                                                         </and>
1946                                                 </or>
1947                                         </and>
1948                                 </condition>
1949                                 <command>property-adjust</command>
1950                                 <property>autopilot/settings/counter-set-altitude-ft</property>
1951                                 <step>-100</step>
1952                                 <min>0</min>
1953                                 <max>50000</max>
1954                         </binding>
1955                         <binding>
1956                                 <condition>
1957                                         <and>
1958                                                 <property>/systems/electrical/outputs/avionics</property>
1959                                                 <property>instrumentation/afds/inputs/alt-knob</property>
1960                                                 <or>
1961                                                         <less-than>
1962                                                                 <property>instrumentation/afds/inputs/remaining-distance</property>
1963                                                                 <value>200</value>
1964                                                         </less-than>
1965                                                         <and>
1966                                                                 <not-equals>
1967                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1968                                                                         <value>VNAV PTH</value>
1969                                                                 </not-equals>
1970                                                                 <not-equals>
1971                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1972                                                                         <value>VNAV SPD</value>
1973                                                                 </not-equals>
1974                                                                 <not-equals>
1975                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
1976                                                                         <value>VNAV ALT</value>
1977                                                                 </not-equals>
1978                                                         </and>
1979                                                 </or>
1980                                         </and>
1981                                 </condition>
1982                                 <command>property-adjust</command>
1983                                 <property>autopilot/settings/counter-set-altitude-ft</property>
1984                                 <step>-1000</step>
1985                                 <min>0</min>
1986                                 <max>50000</max>
1987                         </binding>
1988                         <binding>
1989                                 <command>nasal</command>
1990                                 <script>controls.click(5);</script>
1991                         </binding>
1992                 </action>
1993         </animation>
1994
1995    <animation>
1996                 <type>pick</type>
1997                 <object-name>ALT.knob</object-name>
1998                 <action>
1999                         <button>3</button> <!--  scroll up -->
2000                         <repeatable>false</repeatable>
2001                         <binding>
2002                                 <condition>
2003                                         <and>
2004                                                 <property>/systems/electrical/outputs/avionics</property>
2005                                                 <not>
2006                                                         <property>instrumentation/afds/inputs/alt-knob</property>
2007                                                 </not>
2008                                                 <or>
2009                                                         <less-than>
2010                                                                 <property>instrumentation/afds/inputs/remaining-distance</property>
2011                                                                 <value>200</value>
2012                                                         </less-than>
2013                                                         <and>
2014                                                                 <not-equals>
2015                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2016                                                                         <value>VNAV PTH</value>
2017                                                                 </not-equals>
2018                                                                 <not-equals>
2019                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2020                                                                         <value>VNAV SPD</value>
2021                                                                 </not-equals>
2022                                                                 <not-equals>
2023                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2024                                                                         <value>VNAV ALT</value>
2025                                                                 </not-equals>
2026                                                         </and>
2027                                                 </or>
2028                                         </and>
2029                                 </condition>
2030                                 <command>property-adjust</command>
2031                                 <property>autopilot/settings/counter-set-altitude-ft</property>
2032                                 <step>100</step>
2033                                 <min>0</min>
2034                                 <max>50000</max>
2035                         </binding>
2036                         <binding>
2037                                 <condition>
2038                                         <and>
2039                                                 <property>/systems/electrical/outputs/avionics</property>
2040                                                 <property>instrumentation/afds/inputs/alt-knob</property>
2041                                                 <or>
2042                                                         <less-than>
2043                                                                 <property>instrumentation/afds/inputs/remaining-distance</property>
2044                                                                 <value>200</value>
2045                                                         </less-than>
2046                                                         <and>
2047                                                                 <not-equals>
2048                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2049                                                                         <value>VNAV PTH</value>
2050                                                                 </not-equals>
2051                                                                 <not-equals>
2052                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2053                                                                         <value>VNAV SPD</value>
2054                                                                 </not-equals>
2055                                                                 <not-equals>
2056                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2057                                                                         <value>VNAV ALT</value>
2058                                                                 </not-equals>
2059                                                         </and>
2060                                                 </or>
2061                                         </and>
2062                                 </condition>
2063                                 <command>property-adjust</command>
2064                                 <property>autopilot/settings/counter-set-altitude-ft</property>
2065                                 <step>1000</step>
2066                                 <min>0</min>
2067                                 <max>50000</max>
2068                         </binding>
2069                         <binding>
2070                                 <command>nasal</command>
2071                                 <script>controls.click(5);</script>
2072                         </binding>
2073                 </action>
2074         </animation>
2075
2076    <animation>
2077                 <type>pick</type>
2078                 <object-name>ALT.sel</object-name>
2079                 <action>
2080                         <button>0</button> <!--  left button -->
2081                         <repeatable>true</repeatable>
2082                         <binding>
2083                                 <condition>
2084                                         <and>
2085                                                 <property>/systems/electrical/outputs/avionics</property>
2086                                                 <not>
2087                                                         <property>instrumentation/afds/inputs/alt-knob</property>
2088                                                 </not>
2089                                                 <or>
2090                                                         <less-than>
2091                                                                 <property>instrumentation/afds/inputs/remaining-distance</property>
2092                                                                 <value>200</value>
2093                                                         </less-than>
2094                                                         <and>
2095                                                                 <not-equals>
2096                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2097                                                                         <value>VNAV PTH</value>
2098                                                                 </not-equals>
2099                                                                 <not-equals>
2100                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2101                                                                         <value>VNAV SPD</value>
2102                                                                 </not-equals>
2103                                                                 <not-equals>
2104                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2105                                                                         <value>VNAV ALT</value>
2106                                                                 </not-equals>
2107                                                         </and>
2108                                                 </or>
2109                                         </and>
2110                                 </condition>
2111                                 <command>property-adjust</command>
2112                                 <property>autopilot/settings/counter-set-altitude-ft</property>
2113                                 <step>100</step>
2114                                 <min>0</min>
2115                                 <max>50000</max>
2116                         </binding>
2117                         <binding>
2118                                 <condition>
2119                                         <and>
2120                                                 <property>/systems/electrical/outputs/avionics</property>
2121                                                 <property>instrumentation/afds/inputs/alt-knob</property>
2122                                                 <or>
2123                                                         <less-than>
2124                                                                 <property>instrumentation/afds/inputs/remaining-distance</property>
2125                                                                 <value>200</value>
2126                                                         </less-than>
2127                                                         <and>
2128                                                                 <not-equals>
2129                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2130                                                                         <value>VNAV PTH</value>
2131                                                                 </not-equals>
2132                                                                 <not-equals>
2133                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2134                                                                         <value>VNAV SPD</value>
2135                                                                 </not-equals>
2136                                                                 <not-equals>
2137                                                                         <property>instrumentation/afds/ap-modes/pitch-mode</property>
2138                                                                         <value>VNAV ALT</value>
2139                                                                 </not-equals>
2140                                                         </and>
2141                                                 </or>
2142                                         </and>
2143                                 </condition>
2144                                 <command>property-adjust</command>
2145                                 <property>autopilot/settings/counter-set-altitude-ft</property>
2146                                 <step>1000</step>
2147                                 <min>0</min>
2148                                 <max>50000</max>
2149                         </binding>
2150                         <binding>
2151                                 <command>nasal</command>
2152                                 <script>controls.click(5);</script>
2153                         </binding>
2154                 </action>
2155         </animation>
2156
2157 </PropertyList>