<?xml version="1.0"?>

<PropertyList>

 <path>hi.ac</path>

 <animation>
  <type>material</type>
  <object-name>Face</object-name>
  <object-name>Front</object-name>
  <emission>
   <red>1.0</red>
   <green>0.2</green>
   <blue>0.0</blue>
   <factor-prop>/systems/electrical/outputs/instrument-lights-norm</factor-prop>
  </emission>
 </animation>
 
 <effect>
  <inherits-from>Aircraft/c150/Models/Effects/interior/flashlight</inherits-from>
  <object-name>Face</object-name>
  <object-name>Front</object-name>
  <object-name>OBS-Knob</object-name>
 </effect>

 <animation>
  <type>rotate</type>
  <object-name>Face</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>

   <!--             Heading Offset             -->
 <animation>
  <type>knob</type>
  <object-name>OBS-Knob</object-name>
  <property>instrumentation/heading-indicator/offset-deg</property>
  <factor>6</factor>
  <axis>
   <x>-1</x>
   <y>0</y>
   <z>0</z>
  </axis>
  <center>
    <x-m>0.0111847</x-m>
    <y-m>-0.0298448</y-m>
    <z-m>-0.0284614</z-m>
  </center>
  <action>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/heading-indicator/offset-deg</property>
        <factor>1</factor>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
  
    <!-- faster rate of change than the default -->
    <drag-scale-px>4</drag-scale-px>
    <shift-repeat type="int">5</shift-repeat>
    
    <hovered>
     <binding>
       <command>set-tooltip</command>
       <tooltip-id>heading-offset</tooltip-id>
       <label>Heading Offset: %3d</label>
       <mapping>heading</mapping>
       <property>instrumentation/heading-indicator/offset-deg</property>
    </binding>
    </hovered>
 </animation>

</PropertyList>
