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

<name>Center Panel</name>
<background>Aircraft/R22/Panels/transparent-bg.png</background>
<w>174</w>
<h>230</h>

<instruments>

    <instrument>
        <name>centerpanel hotspots</name>
        <x>87</x>
        <y>115</y>
        <w>174</w>
        <h>230</h>
        <w-base>174</w-base>
        <h-base>230</h-base>

    <actions>

    <action>
        <name>key off</name>
        <button>0</button>
        <x>36</x>
        <y>-89</y>
        <w>16</w>
        <h>32</h>
        <binding>
            <command>property-adjust</command>
            <property>controls/electric/key</property>
            <step>-1</step>
            <min>0</min>
            <max>3</max>
            <wrap>0</wrap>
        </binding>
        <binding>
            <command>property-toggle</command>
            <property>sim/model/sound/click</property>
        </binding>
    </action>

    <action>
        <name>key on</name>
        <button>0</button>
        <x>53</x>
        <y>-89</y>
        <w>16</w>
        <h>32</h>
        <condition>
            <less-than>
                <property>controls/electric/key</property>
                <value>3</value>
            </less-than>
        </condition>
        <binding>
            <command>property-adjust</command>
            <property>controls/electric/key</property>
            <step>1</step>
            <min>0</min>
            <max>3</max>
            <wrap>0</wrap>
        </binding>
        <binding>
            <command>property-toggle</command>
            <property>sim/model/sound/click</property>
        </binding>
   </action>

    <action>
        <name>starter</name>
        <button>0</button>
        <x>53</x>
        <y>-89</y>
        <w>16</w>
        <h>32</h>
        <condition>
            <equals>
                <property>controls/electric/key</property>
                <value>3</value>
            </equals>
        </condition>
        <binding>
            <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>
    </action>

    <action>
        <name>battery switch</name>
        <button>0</button>
        <x>12</x>
        <y>-89</y>
        <w>16</w>
        <h>32</h>
        <binding>
            <command>property-toggle</command>
            <property>controls/electric/battery-switch</property>
        </binding>
        <binding>
            <command>property-toggle</command>
            <property>sim/model/sound/click</property>
        </binding>
    </action>

    <action>
        <name>alt switch</name>
        <button>0</button>
        <x>-5</x>
        <y>-89</y>
        <w>16</w>
        <h>32</h>
        <binding>
            <command>property-toggle</command>
            <property>controls/electric/engine/generator</property>
        </binding>
        <binding>
            <command>property-toggle</command>
            <property>sim/model/sound/click</property>
        </binding>
    </action>

    <action>
        <name>clutch guard</name>
        <button>0</button>
        <x>-33</x>
        <y>-105</y>
        <w>16</w>
        <h>16</h>
        <binding>
            <command>property-toggle</command>
            <property>controls/engines/engine/clutchguard</property>
        </binding>
    </action>

    <action>
        <name>clutch switch</name>
        <button>0</button>
        <x>-33</x>
        <y>-89</y>
        <w>16</w>
        <h>32</h>
        <condition>
            <property>controls/engines/engine/clutchguard</property>
        </condition>
        <binding>
            <command>property-toggle</command>
            <property>controls/engines/engine/clutch</property>
        </binding>
        <binding>
            <command>property-toggle</command>
            <property>sim/model/sound/click</property>
        </binding>
    </action>

    <action>
        <name>strobe switch</name>
        <button>0</button>
        <x>-60</x>
        <y>-89</y>
        <w>16</w>
        <h>32</h>
        <binding>
            <command>property-toggle</command>
            <property>controls/lighting/strobe</property>
        </binding>
        <binding>
            <command>property-toggle</command>
            <property>controls/lighting/beacon</property>
        </binding>
        <binding>
            <command>property-toggle</command>
            <property>sim/model/sound/click</property>
        </binding>
    </action>

    <action>
        <name>nav switch</name>
        <button>0</button>
        <x>-78</x>
        <y>-89</y>
        <w>16</w>
        <h>32</h>
        <binding>
            <command>property-toggle</command>
            <property>controls/lighting/nav-lights</property>
        </binding>
        <binding>
            <command>property-toggle</command>
            <property>sim/model/sound/click</property>
        </binding>
    </action>

       </actions>

    </instrument>

</instruments>

</PropertyList>