<?xml version="1.0"?>
<!--
************************************************************************

1903 Wright Flyer simulation config used to tie together the flight
data model, instrument panel, and visual model.

Flight model details: 
Aircraft/UIUC/wrightFlyer1903-v1-nl/README.wrightFlyer1903.html

Visual model details:  
Aircraft/wrightFlyer1903/Models/
(courtesy of Jim Wilson, jimw@kelcomaine.com)

Last update: Dec 21, 2002 Michael Selig, m-selig@uiuc.edu
************************************************************************
-->

<PropertyList>

 <sim include="help.xml">

  <long-description>
   The Wright Flyer was the first successful heavier-than-air powered aircraft. It was designed and built by the Wright brothers. They flew it four times on December 17, 1903, near Kill Devil Hills, about four miles south of Kitty Hawk, North Carolina, US.
  </long-description>

  <!-- auto-coordination>true</auto-coordination -->

  <sound>
   <path>Aircraft/wrightFlyer1903/Sounds/uiuc/wrightFlyer1903-sound.xml</path>
  </sound>

  <panel>
   <path>Aircraft/Generic/Panels/generic-vfr-panel.xml</path>
   <visibility archive="n">false</visibility>
  </panel>

  <panel_2>
   <path>Aircraft/Generic/Panels/generic-trans-mini-panel.xml</path>
  </panel_2>

  <model>
   <path>Aircraft/wrightFlyer1903/Models/WrightFlyer-pb-jw.xml</path>
  </model>

  <hud>
   <enable3d>false</enable3d>
  </hud>

  <help>
   <title>1903 Wright Flyer</title>
  </help>

 </sim>

 <input>
  <keyboard>
   <key n="76">
       <!-- map keys for launch-bar -->
       <name>L</name>
       <desc>Launch-bar engage.</desc>
       <binding>
           <command>nasal</command>
           <script>
               if (getprop("fdm/jsbsim/systems/holdback/holdback-cmd"))
               {
               print("Disengage launchbar");
               setprop("fdm/jsbsim/systems/catapult/cat-launch-cmd",0);
               setprop("fdm/jsbsim/systems/holdback/holdback-cmd",0);
               setprop("/controls/gear/brake-parking",0);
               }
               else
               {
               print("Engage launchbar");
               setprop("fdm/jsbsim/systems/catapult/cat-launch-cmd",0);
               setprop("fdm/jsbsim/systems/holdback/holdback-cmd",1);
               setprop("/controls/gear/brake-parking",1);
               }
           </script>
       </binding>
   </key>
   <!-- map keys for catapult launch -->
   <key n="67">
       <name>C</name>
       <desc>Catapult Launch Command.</desc>
       <binding>
           <command>nasal</command>
           <script>
               if (getprop("fdm/jsbsim/systems/holdback/holdback-cmd"))
               {
               print("Catapult launch");
               setprop("/controls/gear/brake-parking",0);
               setprop("fdm/jsbsim/systems/catapult/cat-launch-cmd",1);
               setprop("fdm/jsbsim/systems/holdback/holdback-cmd",0);
               }
               else
               {
               }
           </script>
       </binding>
   </key>
  </keyboard>
 </input>

</PropertyList>
