<?xml version="1.0" encoding="UTF-8"?>

<PropertyList>

  <path>key.ac</path>

  <animation>
    <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/electric/key-pos</property>-->
    <property>sim/multiplay/generic/int[10]</property>
    <factor>-30</factor>
    <center>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
    </center>
    <axis>
      <x>1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>

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

</PropertyList>

