<?xml version="1.0"?>

<!-- Copyright (c) 2017 Josh Davidson (Octal450) -->

<PropertyList>
	
	<path>SwitchPanel.ac</path>
	
	<animation>
		<type>material</type>
		<emission>
			<red>0.1</red>
			<green>0.1</green>
			<blue>0.1</blue>
			<factor-prop>controls/lighting/panel-norm</factor-prop>
		</emission>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>NavDimmer</object-name>
		<property>controls/switches/nav-lights-knob</property>
		<factor>170</factor>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
		<center>
			<x-m>-1.7556</x-m>
			<y-m>0</y-m>
			<z-m>0.06722</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>NavDimmer</object-name>
		<action>
			<button>0</button>
			<button>4</button>
			<repeatable>true</repeatable>
			<binding>
				<command>property-adjust</command>
				<property>controls/switches/nav-lights-factor</property>
				<step>0.2</step>
				<min>0</min>
				<max>1</max>
			</binding>
		</action>
		<action>
			<button>1</button>
			<button>3</button>
			<repeatable>true</repeatable>
			<binding>
				<command>property-adjust</command>
				<property>controls/switches/nav-lights-factor</property>
				<step>-0.2</step>
				<min>0</min>
				<max>1</max>
			</binding>
		</action>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>BAT.sw</object-name>
		<property>controls/electrical/switches/battery</property>
		<factor>30</factor>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.7337</x-m>
			<y-m>0.0</y-m>
			<z-m>0.07032</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>BAT.sw</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/electrical/switches/battery</property>
			</binding>
			<binding>
				<command>nasal</command>
				<script>setprop("/sim/sounde/switch2", 1);</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>ALT.sw</object-name>
		<property>controls/electrical/switches/alternator</property>
		<factor>30</factor>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.7337</x-m>
			<y-m>0.0</y-m>
			<z-m>0.07032</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>ALT.sw</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/electrical/switches/alternator</property>
			</binding>
			<binding>
				<command>nasal</command>
				<script>setprop("/sim/sounde/switch2", 1);</script>
			</binding>
		</action>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>FuelPump</object-name>
		<property>controls/fuel/switches/pump</property>
		<factor>30</factor>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.7337</x-m>
			<y-m>0.0</y-m>
			<z-m>0.07032</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>FuelPump</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/fuel/switches/pump</property>
			</binding>
			<binding>
				<command>nasal</command>
				<script>setprop("/sim/sounde/switch2", 1);</script>
			</binding>
		</action>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>LandingLight</object-name>
		<property>controls/switches/landing-light</property>
		<factor>30</factor>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.7337</x-m>
			<y-m>0.0</y-m>
			<z-m>0.07032</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>LandingLight</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/switches/landing-light</property>
			</binding>
			<binding>
				<command>nasal</command>
				<script>setprop("/sim/sounde/switch2", 1);</script>
			</binding>
		</action>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>AntiCollLight.Fin</object-name>
		<property>controls/switches/beacon</property>
		<factor>30</factor>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.7337</x-m>
			<y-m>0.0</y-m>
			<z-m>0.07032</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>AntiCollLight.Fin</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/switches/beacon</property>
			</binding>
			<binding>
				<command>nasal</command>
				<script>setprop("/sim/sounde/switch2", 1);</script>
			</binding>
		</action>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>AntiCollLight.Wing</object-name>
		<property>controls/switches/strobe-lights</property>
		<factor>30</factor>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.7337</x-m>
			<y-m>0.0</y-m>
			<z-m>0.07032</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>AntiCollLight.Wing</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/switches/strobe-lights</property>
			</binding>
			<binding>
				<command>nasal</command>
				<script>setprop("/sim/sounde/switch2", 1);</script>
			</binding>
		</action>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>PitotHeat</object-name>
		<property>controls/switches/pitot-heat</property>
		<factor>30</factor>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.7337</x-m>
			<y-m>0.0</y-m>
			<z-m>0.07032</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>PitotHeat</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/switches/pitot-heat</property>
			</binding>
			<binding>
				<command>nasal</command>
				<script>setprop("/sim/sounde/switch2", 1);</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>PanelDimmer</object-name>
		<property>controls/switches/panel-lights-knob</property>
		<factor>170</factor>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
		<center>
			<x-m>-1.7556</x-m>
			<y-m>0</y-m>
			<z-m>0.06722</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>PanelDimmer</object-name>
		<action>
			<button>0</button>
			<button>4</button>
			<repeatable>true</repeatable>
			<binding>
				<command>property-adjust</command>
				<property>controls/switches/panel-lights-factor</property>
				<step>0.2</step>
				<min>0</min>
				<max>1</max>
			</binding>
		</action>
		<action>
			<button>1</button>
			<button>3</button>
			<repeatable>true</repeatable>
			<binding>
				<command>property-adjust</command>
				<property>controls/switches/panel-lights-factor</property>
				<step>-0.2</step>
				<min>0</min>
				<max>1</max>
			</binding>
		</action>
	</animation>
  
</PropertyList>
