Showing 2 changed files with 44 additions and 0 deletions
+22
mfd.xml
... ...
@@ -441,6 +441,17 @@
441 441
         <max>137.975</max>
442 442
         <wrap>true</wrap>
443 443
       </binding>
444
+      <binding>
445
+        <condition>
446
+          <property>/instrumentation/zkv1000/MFD/status</property>
447
+        </condition>
448
+        <command>nasal</command>
449
+        <script>
450
+          foreach (var c; keys(zkv1000.flightdeck))
451
+            if (zkv1000.flightdeck[c] != nil)
452
+              zkv1000.flightdeck[c].display.updateCOMM({set:1});
453
+        </script>
454
+      </binding>
444 455
     </action>
445 456
     <shift-action>
446 457
       <binding>
... ...
@@ -451,6 +462,17 @@
451 462
         <property>/instrumentation/zkv1000/radios/comm-freq-mhz</property>
452 463
         <factor>0.1</factor>
453 464
       </binding>
465
+      <binding>
466
+        <condition>
467
+          <property>/instrumentation/zkv1000/MFD/status</property>
468
+        </condition>
469
+        <command>nasal</command>
470
+        <script>
471
+          foreach (var c; keys(zkv1000.flightdeck))
472
+            if (zkv1000.flightdeck[c] != nil)
473
+              zkv1000.flightdeck[c].display.updateCOMM({set:1});
474
+        </script>
475
+      </binding>
454 476
     </shift-action>
455 477
   </animation>
456 478
 
+22
pfd.xml
... ...
@@ -452,6 +452,17 @@
452 452
         <max>137.975</max>
453 453
         <wrap>true</wrap>
454 454
       </binding>
455
+      <binding>
456
+        <condition>
457
+          <property>/instrumentation/zkv1000/MFD/status</property>
458
+        </condition>
459
+        <command>nasal</command>
460
+        <script>
461
+          foreach (var c; keys(zkv1000.flightdeck))
462
+            if (zkv1000.flightdeck[c] != nil)
463
+              zkv1000.flightdeck[c].display.updateCOMM({set:1});
464
+        </script>
465
+      </binding>
455 466
     </action>
456 467
     <shift-action>
457 468
       <binding>
... ...
@@ -462,6 +473,17 @@
462 473
         <property>/instrumentation/zkv1000/radios/comm-freq-mhz</property>
463 474
         <factor>0.1</factor>
464 475
       </binding>
476
+      <binding>
477
+        <condition>
478
+          <property>/instrumentation/zkv1000/MFD/status</property>
479
+        </condition>
480
+        <command>nasal</command>
481
+        <script>
482
+          foreach (var c; keys(zkv1000.flightdeck))
483
+            if (zkv1000.flightdeck[c] != nil)
484
+              zkv1000.flightdeck[c].display.updateCOMM({set:1});
485
+        </script>
486
+      </binding>
465 487
     </shift-action>
466 488
   </animation>
467 489