<?xml version="1.0" ?>
<!--
 This file is part of FlightGear, the free flight simulator
 http://www.flightgear.org/

 Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation; either version 2 of the
 License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 General Public License for more details.
-->

<PropertyList>
    <path>SwitchPanel.ac</path>
    
    <animation>
        <type>noshadow</type>
    </animation>
    <animation>
        <type>range</type>
        <min-m>0</min-m>
        <max-m>10</max-m>
    </animation>
    
    <animation>
        <type>material</type>
        <object-name>Magneto.L.L</object-name>
        <object-name>Magneto.L.R</object-name>
        <object-name>Magneto.R.L</object-name>
        <object-name>Magneto.R.R</object-name>
        <object-name>Starter</object-name>
        <object-name>LandingLight</object-name>
        <object-name>TaxiLight</object-name>
        <object-name>NavLight</object-name>
        <object-name>AntiCollLight.Fin</object-name>
        <object-name>AntiCollLight.Wing</object-name>
        <object-name>PitotHeat</object-name>
        
        <object-name>FuelPump.L</object-name>
        <object-name>FuelPump.R</object-name>
        <object-name>Master</object-name>
        
        <emission>
            <red-prop>/sim/model/instrument-lighting/emission/red</red-prop>
            <green-prop>/sim/model/instrument-lighting/emission/green</green-prop>
            <blue-prop>/sim/model/instrument-lighting/emission/blue</blue-prop>
            <factor-prop>/controls/lighting/instruments-norm</factor-prop>
        </emission>
    </animation>
    
    <!-- Top Row -->
    <animation>
        <type>rotate</type>
        <object-name>Magneto.L.L</object-name>
        <property>/controls/engines/engine[0]/magneto[0]</property>
        <factor>40</factor>
        <min-deg>0</min-deg>
        <max-deg>40</max-deg>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.0509521</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.0509521</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Magneto.L.L</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/engines/engine[0]/magneto[0]</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Magneto.L.R</object-name>
        <property>/controls/engines/engine[0]/magneto[1]</property>
        <factor>40</factor>
        <min-deg>0</min-deg>
        <max-deg>40</max-deg>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.0509521</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.0509521</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Magneto.L.R</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/engines/engine[0]/magneto[1]</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Magneto.R.L</object-name>
        <property>/controls/engines/engine[1]/magneto[0]</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.0509521</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.0509521</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Magneto.R.L</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/engines/engine[1]/magneto[0]</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Magneto.R.R</object-name>
        <property>/controls/engines/engine[1]/magneto[1]</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.0509521</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.0509521</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Magneto.R.R</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/engines/engine[1]/magneto[1]</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Starter</object-name>
        <property>/controls/engines/engine[0]/starter-switch</property>
        <factor>-20</factor>
        <axis>
            <x1-m>0</x1-m>
            <y1-m>-0.0101823</y1-m>
            <z1-m>0.0420577</z1-m>
            <x2-m>0</x2-m>
            <y2-m>-0.0243243</y2-m>
            <z2-m>0.0561997</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Starter.L</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-assign</command>
            <property>/controls/engines/engine[0]/starter-switch</property>
            <value type="bool">1</value>
          </binding>
          <mod-up>
            <binding>
              <command>property-assign</command>
              <property>/controls/engines/engine[0]/starter-switch</property>
              <value type="bool">0</value>
            </binding>
          </mod-up>
        </action>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Starter.R</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-assign</command>
            <property>/controls/engines/engine[1]/starter-switch</property>
            <value type="bool">true</value>
          </binding>
          <mod-up>
            <binding>
              <command>property-assign</command>
              <property>/controls/engines/engine[1]/starter-switch</property>
              <value type="bool">false</value>
            </binding>
          </mod-up>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Starter</object-name>
        <property>/controls/engines/engine[1]/starter-switch</property>
        <factor>20</factor>
        <axis>
            <x1-m>0</x1-m>
            <y1-m>-0.0101823</y1-m>
            <z1-m>0.0420577</z1-m>
            <x2-m>0</x2-m>
            <y2-m>-0.0243243</y2-m>
            <z2-m>0.0561997</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Primer.L</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-assign</command>
            <property>/controls/engines/engine[0]/primer</property>
            <value type="bool">true</value>
          </binding>
          <mod-up>
            <binding>
              <command>property-assign</command>
              <property>/controls/engines/engine[0]/primer</property>
              <value type="bool">false</value>
            </binding>
          </mod-up>
        </action>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>Primer.L</object-name>
        <property>/controls/engines/engine[0]/primer</property>
        <factor>.01</factor>
        <axis>
            <x>0</x>
            <y>-0.0137498</y>
            <z>-0.0127771</z>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Primer.R</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-assign</command>
            <property>/controls/engines/engine[1]/primer</property>
            <value type="bool">true</value>
          </binding>
          <mod-up>
            <binding>
              <command>property-assign</command>
              <property>/controls/engines/engine[1]/primer</property>
              <value type="bool">false</value>
            </binding>
          </mod-up>
        </action>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>Primer.R</object-name>
        <property>/controls/engines/engine[1]/primer</property>
        <factor>.01</factor>
        <axis>
            <x>0</x>
            <y>-0.0137498</y>
            <z>-0.0127771</z>
        </axis>
    </animation>
    <!-- Center Row -->
    <animation>
        <type>pick</type>
        <object-name>LandingLight</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/lighting/landing-lights</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LandingLight</object-name>
        <property>/controls/lighting/landing-lights</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.00112367</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.00112367</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>TaxiLight</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/lighting/taxi-light</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>TaxiLight</object-name>
        <property>/controls/lighting/taxi-light</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.00112367</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.00112367</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>NavLight</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/lighting/nav-lights</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>NavLight</object-name>
        <property>/controls/lighting/nav-lights</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.00112367</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.00112367</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>AntiCollLight.Fin</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/lighting/beacon</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>AntiCollLight.Fin</object-name>
        <property>/controls/lighting/beacon</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.00112367</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.00112367</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>AntiCollLight.Wing</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/lighting/strobe</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>AntiCollLight.Wing</object-name>
        <property>/controls/lighting/strobe</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.00112367</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.00112367</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>PitotHeat</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/anti-ice/pitot-heat</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>PitotHeat</object-name>
        <property>/controls/anti-ice/pitot-heat</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.00112367</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.00112367</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>FuelPump.L</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/engines/engine[0]/fuel-pump</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>FuelPump.L</object-name>
        <property>/controls/engines/engine[0]/fuel-pump</property>
        <factor>-20.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.00112367</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.00112367</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>FuelPump.R</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/engines/engine[1]/fuel-pump</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>FuelPump.R</object-name>
        <property>/controls/engines/engine[1]/fuel-pump</property>
        <factor>-20.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>0.00112367</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>0.00112367</z2-m>
        </axis>
    </animation>
    <!-- bottom row -->
    <animation>
        <type>pick</type>
        <object-name>Master</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/electric/battery-switch</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Master</object-name>
        <property>/controls/electric/battery-switch</property>
        <factor>40.0</factor>
        <axis>
            <x1-m>-1</x1-m>
            <y1-m>0.0257256</y1-m>
            <z1-m>-0.049048</z1-m>
            <x2-m>1</x2-m>
            <y2-m>0.0257256</y2-m>
            <z2-m>-0.049048</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Alternator.L</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/electric/engine[0]/generator</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Alternator.L</object-name>
        <property>/controls/electric/engine[0]/generator</property>
        <factor>60.0</factor>
        <axis>
            <x1-m>0.0565281</x1-m>
            <y1-m>0.0347461</y1-m>
            <z1-m>-0.0540336</z1-m>
            <x2-m>0.0565281</x2-m>
            <y2-m>0.0323168</y2-m>
            <z2-m>-0.0516043</z2-m>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>Alternator.R</object-name>
        <visible>true</visible>
        <action>
          <button>0</button>
          <repeatable>false</repeatable>
          <binding>
            <command>property-toggle</command>
            <property>/controls/electric/engine[1]/generator</property>
          </binding>
        </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Alternator.R</object-name>
        <property>/controls/electric/engine[1]/generator</property>
        <factor>60.0</factor>
        <axis>
            <x1-m>0.0314281</x1-m>
            <y1-m>0.0347461</y1-m>
            <z1-m>-0.0540337</z1-m>
            <x2-m>0.0314281</x2-m>
            <y2-m>-0.0323168</y2-m>
            <z2-m>-0.0516044</z2-m>
        </axis>
    </animation>
</PropertyList>
