<?xml version="1.0"?>
<!--
    Usable with FlightGear
    Property of Gerard Robin  12-12-2005
    Copyright License:  GPLv2
-->
<PropertyList>

    <keyboard >

            <key n="69">
                <name>E</name>
                <desc>Toggle Rendering Effect.</desc>
                <binding>
                    <command>property-toggle</command>
                    <property>/sim/model/rendering/shader-effects</property>
                </binding>
            </key>

            <key n="1">
            <name>Ctrl-A</name>
            <desc>Toggle autopilot altitude lock.</desc>
                    <binding>
                            <command>property-toggle</command>
                            <property>/autopilot/switch-altitude</property>
                    </binding>
            </key>
            <key n="8">
            <name>Ctrl-H</name>
            <desc>Toggle autopilot heading lock.</desc>
                    <binding>
                            <command>property-toggle</command>
                            <property>/autopilot/switch-heading</property>
                    </binding>
            </key>


            <key n="125">
            <name>}</name>
                    <desc>Master Electric  Switch</desc>
                            <binding>
                                    <command>property-toggle</command>
                                    <property>/controls/electric/master-switch</property>
                            </binding>
            </key>

            <key n="123">
                    <name>{</name>
                    <desc>Stop Engine</desc>
                            <binding>
                                    <command>property-toggle</command>
                                    <property>/fdm/jsbsim/fcs/cutoff-switch</property>
                            </binding>
                            <binding>
                                <command>property-assign</command>
                                <property>/sim/model/mule/linked</property>
                                <value>0.0</value>
                            </binding>
            </key>

            <key n="115">
		    <name>s</name>
		    <desc>Fire Starter on Selected Engine(s)</desc>
			<binding>
			<command>nasal</command>
			<script>controls.startEngine(1)</script>
			</binding>
			<mod-up>
			    <binding>
				<command>nasal</command>
				<script>controls.startEngine(1)</script>
			    </binding>
			</mod-up>
	    </key>


  <!-- =================FCS=====================-->
            <key n="41">
                    <desc>Speed Brake Down</desc>
                            <name>)</name>
                            <binding>
                                    <command>property-adjust</command>
                                    <property>/controls/flight/speedbrake</property>
                                    <max type="double">1</max>
                                    <step type="double">0.25</step>
                            </binding>
            </key>
            <key n="40">
                    <desc>Speed Brakes Up</desc>
                    <name>(</name>
                    <binding>
                            <command>property-adjust</command>
                            <property>/controls/flight/speedbrake</property>
                            <min type="double">0</min>
                            <step type="double">-0.25</step>
                    </binding>
            </key>
            <key n="93">
                    <name>]</name>
                    <desc>Increase ledroopflaps.</desc>
                    <binding>
                                <command>property-assign</command>
                            <property>/fdm/jsbsim/fcs/leflap-cmd-norm</property>
                            <value>1.0</value>
                    </binding>
            </key>
            <key n="91">
                    <name>[</name>
                    <desc>Decrease ledroopflaps.</desc>
                    <binding>
                                <command>property-assign</command>
                            <property>/fdm/jsbsim/fcs/leflap-cmd-norm</property>
                            <value>0.0</value>
                    </binding>
            </key>
            <key n="61">
                    <name>=</name>
                    <desc>Toggle Wing incidence</desc>
                    <binding>
                            <command>property-toggle</command>
                            <property>/controls/flight/wing-incidence</property>
                    </binding>
            </key>


   <!--============Misc============================-->

            <key n="100">
            <name>d</name>
            <desc>Toggle Canopy</desc>
                            <binding>
                                    <command>property-toggle</command>
                                    <property>/controls/flight/canopy</property>
                            </binding>
            </key>


    <!--==============Catapult==============-->
                <key n="67">
                    <name>C</name>
                    <desc>Catapult Launch Command.</desc>
                    <binding>
                        <command>property-assign</command>
                        <property>/fdm/jsbsim/systems/catapult_free/cat-launch-cmd</property>
                        <value>1.0</value>
                    </binding>
                    <binding>
                        <command>property-assign</command>
                        <property>controls/engines/engine[0]/throttle</property>
                        <value>1</value>
                    </binding>
                    <binding>
                        <command>property-assign</command>
                        <property>controls/flight/elevator</property>
                        <value>0</value>
                    </binding>
		     <binding>
                        <command>property-assign</command>
                        <property>controls/flight/elevator-trim</property>
                        <value>0</value>
                    </binding>
		    <binding>
                        <command>property-assign</command>
			<property>controls/gear/brake-parking</property>
                        <value>0</value>
                    </binding>
                   <!-- <binding>
                        <command>property-assign</command>
                        <property>/fdm/jsbsim/systems/launchbar_free/lock-cmd</property>
                        <value type="double">0</value>
                    </binding>-->
            </key>

    <!-- =============launch-bar =================-->
            <key n="76">
                    <name>L</name>
                    <desc>engage holdback</desc>
                    <binding>
                        <command>property-assign</command>
                        <property>/fdm/jsbsim/systems/launchbar_free/lock-cmd</property>
                        <value type="double">1</value>
                    </binding>
                    <binding>
                        <command>property-assign</command>
                        <property>fdm/jsbsim/systems/catapult_free/cat-launch-cmd</property>
                        <value>0</value>
                    </binding>
                    <binding>
                        <command>property-assign</command>
                        <property>controls/engines/engine[0]/throttle</property>
                        <value>0</value>
                    </binding>
                    <binding>
                        <command>property-assign</command>
                        <property>sim/model/taxi/linked</property>
                        <value>0</value>
                    </binding>
                    <binding>
                        <command>property-assign</command>
                        <property>/fdm/jsbsim/systems/launchbar/store-timer</property>
                        <value>1</value>
                    </binding>
                    <binding>
                        <command>property-assign</command>
                        <property>/fdm/jsbsim/systems/launchbar-locked-time-mem</property>
                        <value>0</value>
                    </binding>
		    <binding>
			<command>property-assign</command>
			<property>fdm/jsbsim/gear/NWS/engaged</property>
			<value>0</value>
		    </binding>
                    <mod-up>
                        <binding>
                            <command>property-assign</command>
                            <property>/fdm/jsbsim/systems/launchbar/store-timer</property>
                            <value>0</value>
                        </binding>
                     </mod-up>
            </key>

    <!--================arrester hook =================-->
            <key n="79">
                    <name>O</name>
                    <desc>Hook down.</desc>
                    <binding>
                            <command>property-assign</command>
                            <property>controls/gear/tailhook</property>
                            <value type="double">1.0</value>
                    </binding>
            </key>
            <key n="111">
                    <name>o</name>
                    <desc>Hook Up.</desc>
                    <binding>
                            <command>property-assign</command>
                            <property>controls/gear/tailhook</property>
                            <value type="double">0.0</value>
                    </binding>
            </key>

    <!-- ============wing fold ================-->
            <key n="70">
                    <name>F</name>
                    <desc>Wing Fold Down.</desc>
                    <binding>
                            <command>property-assign</command>
                            <property>controls/flight/wing-fold-cmd</property>
                            <value type="double">1</value>
                    </binding>
            </key>
            <key n="102">
                    <name>f</name>
                    <desc>Wing Fold Up.</desc>
                    <binding>
                            <command>property-assign</command>
                            <property>controls/flight/wing-fold-cmd</property>
                            <value type="double">0.0</value>
                    </binding>
            </key>

    <!--==============mule=================== -->
            <key n="43">
                    <name>+</name>
                    <desc>Mule Magnitude increase</desc>
                    <repeatable type="bool">true</repeatable>
                    <binding>
                            <command>property-adjust</command>
                            <property>/sim/model/mule/magnitude</property>
                            <step type="double">100</step>
                            <max>4000</max>
                    </binding>
            </key>
            <key n="45">
                    <name>-</name>
                    <desc>Mule Magnitude decrease</desc>
                    <repeatable type="bool">true</repeatable>
                    <binding>
                            <command>property-adjust</command>
                            <property>/sim/model/mule/magnitude</property>
                            <step type="double">-100</step>
                            <min>-3000</min>
                    </binding>
            </key>
            <key n="109">
                    <name>m</name>
                    <desc>Mule Linked</desc>
                    <binding>
                        <command>property-toggle</command>
                        <property>/sim/model/mule/linked</property>
                    </binding>
                    <binding>
                        <command>property-assign</command>
                        <property>fdm/jsbsim/gear/NWS/engaged</property>
                        <value>1</value>
                    </binding>
                    <binding>
                            <command>property-assign</command>
                            <property>/sim/model/mule/magnitude</property>
                            <value type="double">0</value>
                    </binding>
            </key>
            <key n="77">
                <name>M</name>
                <desc>taxi Linked</desc>
                <binding>
                    <command>property-toggle</command>
                    <property>/sim/model/taxi/linked</property>
                </binding>
                <binding>
                    <command>property-assign</command>
                    <property>fdm/jsbsim/gear/NWS/engaged</property>
                    <value>1</value>
                </binding>
                <binding>
                    <command>property-assign</command>
                    <property>/controls/gear/brake-parking</property>
                    <value>0</value>
                    </binding>
            </key>
            <key n="110">
                <name>n</name>
                <desc>Nose Wheel Steering</desc>
                <binding>
                    <command>property-assign</command>
                    <property>fdm/jsbsim/gear/NWS/engaged</property>
                    <value>0</value>
                </binding>
            </key>
            <key n="78">
                <name>N</name>
                <desc>Nose Wheel Steering</desc>
                <binding>
                    <command>property-assign</command>
                    <property>fdm/jsbsim/gear/NWS/engaged</property>
                    <value>1</value>
                </binding>
            </key>
            <key n="117">
                <name>u</name>
                <desc>Manual Glide Slope Control </desc>
                <binding>
                    <command>property-assign</command>
                    <property>controls/engines/engine/throttle</property>
                    <value>0.44</value>
                </binding>
                <binding>
                    <command>property-assign</command>
                    <property>controls/flight/elevator-trim</property>
                    <value>-0.28</value>
                </binding>
            </key>

            <key n="105">
                <name>i</name>
                <desc>Auto Glide Slope Control</desc>
               <binding>
                    <command>property-assign</command>
                    <property>controls/engines/engine/throttle</property>
                    <value>0.40</value>
                </binding>
                <binding>
                    <command>property-toggle</command>
                    <property>autopilot/switch-aoa</property>
                </binding>
                <binding>
                    <command>property-assign</command>
                    <property>sim/aoa-indicator/alpha-rad</property>
                    <!--<value>0.27227136</value>--> <!--7.6 deg + 8 deg -->
		    <value>0.2565634</value><!--6.7 deg + 8 deg -->
                </binding>
                <!--<binding>
                    <command>property-assign</command>
                    <property>controls/flight/elevator-trim</property>
                    <value>0</value>
                </binding>-->
            </key>

	</keyboard>
</PropertyList>