<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <path>key.ac</path>

  <animation>
    <object-name>fond</object-name>
    <object-name>key</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>key</object-name>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>key</object-name>
    <action>
      <button>0</button>
      <binding> <!-- Starter -->
        <condition>
          <equals>
            <property>controls/electric/key</property>
            <value>1</value>
          </equals>
        </condition>
        <command>property-assign</command>
        <property>controls/engines/engine/starter</property>
        <value>1</value>
      </binding>
      <mod-up>
        <binding>
          <command>property-assign</command>
          <property>controls/engines/engine/starter</property>
          <value>0</value>
        </binding>
      </mod-up>
      <binding>
        <condition>
          <less-than-equals>
            <property>controls/electric/key</property>
            <value>1</value>
          </less-than-equals>
        </condition>
        <command>property-adjust</command>
        <property>controls/electric/key</property>
        <step>1</step>
        <min>0</min>
        <max>1</max>
        <wrap>0</wrap>
      </binding>
      <binding>
        <command>property-toggle</command>
        <property>sim/model/sound/click</property>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>key</object-name>
    <action>
      <button>1</button>
      <binding>
        <command>property-adjust</command>
        <property>controls/electric/key</property>
        <step>-1</step>
        <min>0</min>
        <max>1</max>
        <wrap>false</wrap>
      </binding>
      <binding>
        <command>property-toggle</command>
        <property>sim/model/sound/click</property>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>key</object-name>
    <property>controls/engines/engine/starter</property>
    <factor> -30 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
