<?xml version="1.0"?>

<PropertyList>

 <path>primer.ac</path>

    <params>
        <controls>
            <primer-lever-animation>sim/model/pa38/cockpit/primer-lever-animation</primer-lever-animation>
        </controls>
    </params>

    <!-- Primer -->
    <animation>
        <type>pick</type>
        <object-name>primer_handle</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>pa38.pumpPrimer();</script>
            </binding>
            <binding>
                <command>nasal</command>
                <script>pa38.click("primer-in", 1.2)</script>
            </binding>
            <binding>
                <command>nasal</command>
                <script>pa38.click("primer-out", 1.2)</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>primer</tooltip-id>
                <label>Engine primer (%1d)</label>
                <property>controls/engines/engine/primer</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>primer_handle</object-name>
        <property alias="/params/controls/primer-lever-animation"/>
        <factor>0.04</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

</PropertyList>
