<?xml version="1.0"?>
<!--RC Allen RCA15BK-1 28v Heading Indicator
http://www.kellymfg.com/dgs.html
-->
<PropertyList>

	<path>RCA15BK-1.ac</path>

<animation>
	<type>material</type>
	<object-name>Aircraft</object-name>
	<object-name>Marks</object-name>
	<object-name>Card</object-name>
	<object-name>Flag</object-name>
    <condition>
      <property>systems/electrical/outputs/panel-lights</property>
    </condition>
    <emission>
      <red>0.7</red>
      <green>0.7</green>
      <blue>0.7</blue>
      <factor-prop>controls/lighting/panel-norm</factor-prop>
    </emission>
</animation>

<animation>
	<type>rotate</type>
	<object-name>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>Knob</object-name>
	<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
	<axis>
		<x>-1</x>
		<y>0</y>
		<z>0</z>
	</axis>
	<center>
		<x-m> 0     </x-m>
		<y-m>-0.032 </y-m>
		<z-m>-0.028 </z-m>
	</center>
</animation>
<animation>
	<type>rotate</type>
	<object-name>Knob</object-name>
	<property>/autopilot/settings/heading-bug-deg</property>
	<axis>
		<x>-1</x>
		<y>0</y>
		<z>0</z>
	</axis>
	<center>
		<x-m> 0     </x-m>
		<y-m>-0.032 </y-m>
		<z-m>-0.028 </z-m>
	</center>
</animation>

<!-- CONTROL -->

<animation>
	<type>pick</type>
	<object-name>Knob</object-name>
	<visible>true</visible>
	<action>
		<name>Small up</name>
		<button>0</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>
		<binding>
			<command>property-adjust</command>
			<property>/autopilot/settings/heading-bug-deg</property>
				<step> 1</step>
				<min>  0</min>
				<max>360</max>
				<wrap>1</wrap>
		</binding>
	</action>
	<action>
		<name>Small down</name>
		<button>1</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>
		<binding>
			<command>property-adjust</command>
			<property>/autopilot/settings/heading-bug-deg</property>
				<step>-1</step>
				<min>  0</min>
				<max>360</max>
				<wrap>1</wrap>
		</binding>
	</action>
	<action>
		<name>Big up</name>
		<button>3</button>
		<repeatable>true</repeatable>
		<binding>
			<command>property-adjust</command>
			<property>/instrumentation/heading-indicator/offset-deg</property>
				<step> 5</step>
				<min>  0</min>
				<max>360</max>
				<wrap>1</wrap>
		</binding>
		<binding>
			<command>property-adjust</command>
			<property>/autopilot/settings/heading-bug-deg</property>
				<step> 5</step>
				<min>  0</min>
				<max>360</max>
				<wrap>1</wrap>
		</binding>
	</action>
	<action>
		<name>Big down</name>
		<button>4</button>
		<repeatable>true</repeatable>
		<binding>
			<command>property-adjust</command>
			<property>/instrumentation/heading-indicator/offset-deg</property>
				<step>-5</step>
				<min>  0</min>
				<max>360</max>
				<wrap>1</wrap>
		</binding>
		<binding>
			<command>property-adjust</command>
			<property>/autopilot/settings/heading-bug-deg</property>
				<step>-5</step>
				<min>  0</min>
				<max>360</max>
				<wrap>1</wrap>
		</binding>
	</action>
</animation>

<!-- Label Text -->

<text>
	<name>LabelText</name>
	<type type="string">literal</type>
		<text type="string">Heading Indicator</text>
	<draw-text type="bool">true</draw-text>
	<font>Helvetica.txf</font>
		<character-size type="double">0.012</character-size>
		<character-aspect-ratio type="double">1.0</character-aspect-ratio>
	<axis-alignment>yz-plane</axis-alignment>
	<max-height>0.2</max-height>
	<max-width>0.07</max-width>
	<font-resolution>
		<width type="int">32</width>
		<height type="int">32</height>
	</font-resolution>
	<alignment>center-center</alignment>
	<offsets>
		<x-m> 0.01</x-m>
		<y-m> 0.0 </y-m>
		<z-m> 0.0 </z-m>
	</offsets>
</text>

<animation>
	<type>material</type>
		<object-name>LabelText</object-name>
	<emission>
		<red>1.0</red>
		<green>0.8</green>
		<blue>0.0</blue>
	</emission>
</animation>

<animation>
	<type>select</type>
		<object-name>LabelText</object-name>
	<condition>
		<property>/sim/panel-hotspots</property>
	</condition>
</animation>

</PropertyList>
