<?xml version="1.0"?>
<PropertyList>

    <path>gear-ctl.ac</path>

    <animation>
        <type>select</type>
        <object-name>Glamp.N</object-name>
        <condition>
            <equals>
                <property>gear/gear[0]/position-norm</property>
                <value>1</value>
            </equals>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>Glamp.L</object-name>
        <condition>
            <equals>
                <property>gear/gear[1]/position-norm</property>
                <value>1</value>
            </equals>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>Glamp.R</object-name>
        <condition>
            <equals>
                <property>gear/gear[2]/position-norm</property>
                <value>1</value>
            </equals>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>Glamp.UNLKD</object-name>
        <condition>
            <and>
		<greater-than>
			<property>gear/gear[0]/position-norm</property>
			<value>0</value>
		</greater-than>
		<less-than>
			<property>gear/gear[0]/position-norm</property>
			<value>1.0</value>
		</less-than>
            </and>
        </condition>
    </animation>

<!--####    Controls    ####-->

    <animation>
        <type>rotate</type>
        <object-name>GearLever</object-name>
        <property>controls/gear/gear-down</property>
        <factor>15</factor>
        <center>
            <x-m>-0.114</x-m>
            <y-m>0</y-m>
            <z-m>-0.025</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>



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

</PropertyList>