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

<PropertyList>

  <path>throttle.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>base</object-name>
    <object-name>throttle</object-name>
    <object-name>mixture</object-name>
    <object-name>fuel_pump</object-name>
    <object-name>fuel_selector</object-name>
    <object-name>trous</object-name>

    <!-- Objets transparents -->
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>base</object-name>
    <object-name>throttle</object-name>
    <object-name>mixture</object-name>
    <object-name>fuel_pump</object-name>
    <object-name>fuel_selector</object-name>
    <object-name>trous</object-name>
  </animation>

  <!--Throttle Lever -->
  <animation>
    <type>slider</type>
    <object-name>throttle</object-name>
    <visible>true</visible>
    <drag-direction>vertical</drag-direction>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>/controls/engines/engine/throttle</property>
        <factor>0.05</factor>
        <min>0</min>
        <max>1</max>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>throttle</tooltip-id>
        <label>Throttle: %d%%</label>
        <mapping>percent</mapping>
        <property>/controls/engines/engine/throttle</property>
      </binding>
    </hovered>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>throttle</object-name>
    <property>/controls/engines/engine/throttle</property>
    <factor>-46</factor>
    <!--23 degree at each max position -->
    <center>
      <x-m> -0.05581 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.08237 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!--Mixture Lever -->
  <animation>
    <type>slider</type>
    <object-name>mixture</object-name>
    <visible>true</visible>
    <drag-direction>vertical</drag-direction>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>/controls/engines/engine/mixture</property>
        <factor>0.05</factor>
        <min>0</min>
        <max>1</max>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>throttle</tooltip-id>
        <label>Mixture: %d%%</label>
        <mapping>percent</mapping>
        <property>/controls/engines/engine/mixture</property>
      </binding>
    </hovered>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>mixture</object-name>
    <property>/controls/engines/engine/mixture</property>
    <factor>-54</factor>
    <!--23 degree at each max position -->
    <center>
      <x-m> -0.06581 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.08237 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Fuel Pump Switch -->
  <animation>
    <type>pick</type>
    <object-name>fuel_pump</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-cycle</command>
        <property>controls/fuel/boost-pump</property>
        <value>1</value>
        <value>-1</value>
        <value>0</value>
      </binding>
      <binding>
        <command>property-toggle</command>
        <property>sim/model/click</property>
      </binding>
    </action>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-cycle</command>
        <property>controls/fuel/boost-pump</property>
        <value>-1</value>
        <value>1</value>
        <value>0</value>
      </binding>
      <binding>
        <command>property-toggle</command>
        <property>sim/model/click</property>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>fuel_pump</object-name>
    <property>controls/fuel/boost-pump-pos</property>
    <factor> -18 </factor>
    <center>
      <x-m> -0.03534 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.00068 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Fuel Selector -->
  <animation>
    <type>knob</type>
    <object-name>fuel_selector</object-name>
    <property>controls/fuel/tank-selector-pos</property>
    <action>
      <binding>
        <command>property-adjust</command>
        <property>controls/fuel/tank-selector</property>
        <min>0</min>
        <max>3</max>
        <factor>1</factor>
      </binding>
    </action>
    <interpolation>
      <entry><ind> 0 </ind><dep> -180 </dep></entry>
      <entry><ind> 1 </ind><dep>  -75 </dep></entry>
      <entry><ind> 2 </ind><dep>    0 </dep></entry>
      <entry><ind> 3 </ind><dep>  105 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.07290 </x-m>
      <y-m> -0.01408 </y-m>
      <z-m>  0.00000 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z>-1 </z>
    </axis>
  </animation>

</PropertyList>
