<?xml version="1.0"?>

<!-- Gear lever (switch) on middle console -->

<PropertyList>
  <path>../../../shared/switches/2ppntk.ac</path>

  <animation>
    <type>pick</type>
    <object-name>clickspot_up</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>controls.gearDown(-1);</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>clickspot_down</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>controls.gearDown(1);</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>lever</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind>0.00</ind><dep>0</dep></entry>
      <entry><ind>0.05</ind><dep>23</dep></entry>
      <entry><ind>0.95</ind><dep>23</dep></entry>
      <entry><ind>1.00</ind><dep>0</dep></entry>
    </interpolation>
    <axis>
      <x>0.0</x>
      <y>1.0</y>
      <z>0.0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>lever</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind>0</ind><dep>-90</dep></entry>
      <entry><ind>1</ind><dep> 90</dep></entry>
    </interpolation>
    <axis>
      <x>1.0</x>
      <y>0.0</y>
      <z>0.0</z>
    </axis>
  </animation>

</PropertyList>
