<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- KI 227-01
     ADF Heading Indicator -HSI driven compass card
     Syd Adams
-->
<PropertyList>

  <path>ki227.ac</path>

  <animation>
    <object-name>KI227.bezel</object-name>
    <object-name>KI227.card</object-name>
    <object-name>KI227.needle</object-name>
    <object-name>KI227.knob</object-name>
    <object-name>KI227.face</object-name>

    <object-name>vitre</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>KI227.bezel</object-name>
    <object-name>KI227.card</object-name>
    <object-name>KI227.needle</object-name>
    <object-name>KI227.knob</object-name>
    <object-name>KI227.face</object-name>
    <object-name>vitre</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../../../../Effects/Glass/glass</inherits-from>
    <object-name>vitre</object-name>
  </effect>

  <animation>
    <type>material</type>
    <object-name>KI227.card</object-name>
    <object-name>KI227.needle</object-name>
    <object-name>KI227.knob</object-name>
    <object-name>KI227.face</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>KI227.card</object-name>
    <property>instrumentation/heading-indicator/indicated-heading-deg</property>
    <factor> -1 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>KI227.needle</object-name>
    <property>instrumentation/adf/indicated-bearing-deg-disp</property>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!--             Heading Offset             -->
  <animation>
    <type>pick</type>
    <object-name>KI227.knob</object-name>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/heading-indicator/offset-deg</property>
        <step>-1</step>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/heading-indicator/offset-deg</property>
        <step>1</step>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
