<?xml version="1.0"?>

<PropertyList>

    <path>hi.ac</path>

 <!--   <effect>
        <inherits-from>Aircraft/c152/Models/Effects/interior/c152-interior-compartment</inherits-from>
        <object-name>Front</object-name>
        <object-name>HdgBug</object-name>
        <object-name>OBS-Knob</object-name>
    </effect>
     
    <animation>
        <type>material</type>
        <object-name>Front</object-name>
        <object-name>HdgBug</object-name>
        <emission>
            <red>0.98</red>
            <green>0.51</green>
            <blue>0.0</blue>
            <factor-prop>/sim/model/c152/lighting/instruments</factor-prop>
        </emission>
    </animation> -->

	<animation>
		<type>material</type>
        <object-name>Face</object-name>
        <object-name>HdgBug</object-name>
		<emission>
			<red>1.00</red>
			<green>0.65</green>
			<blue>0.25</blue>
			<factor-prop>/sim/model/pa38/lighting/instruments</factor-prop>
		</emission>
	</animation>

    <animation>
        <type>rotate</type>
        <object-name>HdgBug</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.000146</x-m>
            <y-m>-0.03584</y-m>
            <z-m>-0.041128</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>
			<binding>
				<command>nasal</command>
				<script>pa38.click("dial")</script>
			</binding>
        </action>
        <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>
