<?xml version="1.0"?>
<!--
Key binding definitions.

This file is included by preferences.xml, and uses the context of its
inclusion point; that means that you need to prepend "/input/keyboard"
to all property names.

The list here is not yet comprehensive: many of the bindings are still
handled in the C++ code.

Regular keycodes go up to 255; special keys start at 256, and can be
calculated by adding 256 to the GLUT key value in glut.h.
-->

<PropertyList>

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

 <key n="2">
  <name>Ctrl-B</name>
  <desc>Toggle speedbrake.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/controls/flight/speedbrake</property>
  </binding>
 </key>

 <key n="3">
  <name>Ctrl-C</name>
  <desc>Toggle clickable panel hotspots</desc>
  <binding>
   <command>property-toggle</command>
   <property>/sim/panel-hotspots</property>
  </binding>
 </key>

 <key n="7">
  <name>Ctrl-G</name>
  <desc>Toggle autopilot glide slope lock.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/autopilot/locks/glide-slope</property>
  </binding>
 </key>

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

 <key n="13">
  <name>Enter</name>
  <desc>Move rudder right or increase autopilot heading.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/rudder</property>
   <step type="double">0.05</step>
  </binding>
 </key>

 <key n="14">
  <name>Ctrl-N</name>
  <desc>Toggle autopilot nav1 lock.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/autopilot/locks/nav[0]</property>
  </binding>
 </key>

 <key n="18">
  <name>Ctrl-R</name>
  <desc>(Temporary) Toggle winding-ccw</desc>
  <binding>
    <command>property-toggle</command>
    <property>/sim/temp/winding-ccw</property>
  </binding>
 </key>

 <key n="19">
  <name>Ctrl-S</name>
  <desc>Toggle auto-throttle lock.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/autopilot/locks/auto-throttle</property>
  </binding>
 </key>

<key n="20">
  <name>Ctrl-T</name>
  <desc>Toggle autopilot terrain lock.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/autopilot/locks/terrain</property>
  </binding>
 </key>

 <key n="21">
  <name>Ctrl-U</name>
  <desc>[Cheat] Add 1000ft of emergency altitude.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/position/altitude-ft</property>
   <step type="double">1000.0</step>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/startup/onground</property>
   <value type="bool">false</value>
  </binding>
 </key>

 <key n="22">
  <name>Ctrl-V</name>
  <desc>Select initial view (view 0).</desc>
  <binding>
   <command>property-assign</command>
   <property>/sim/current-view/view-number</property>
   <value>0</value>
  </binding>
 </key>

 <key n="23">
  <name>Ctrl-W</name>
  <desc>Toggle autopilot wing leveler.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/autopilot/locks/wing-leveler</property>
  </binding>
 </key>

 <key n="27">
  <name>ESC</name>
  <desc>Prompt and quit FlightGear.</desc>
  <binding>
    <command>dialog-show</command>
    <dialog-name>exit</dialog-name>
  </binding>
  <mod-shift>
   <desc>Reset FlightGear.</desc>
   <binding>
    <command>old-reinit-dialog</command>
   </binding>
  </mod-shift>
 </key>

 <key n="32">
  <name>SPACE</name>
  <desc>Fire Starter on Selected Engine(s)</desc>

  <binding>
   <condition>
    <property>/sim/input/selected/engine[0]</property>
   </condition>
   <command>property-assign</command>
   <property>/controls/engines/engine[0]/starter</property>
   <value type="bool">true</value>
  </binding>

  <binding>
   <condition>
    <property>/sim/input/selected/engine[1]</property>
   </condition>
   <command>property-assign</command>
   <property>/controls/engines/engine[1]/starter</property>
   <value type="bool">true</value>
  </binding>

  <binding>
   <condition>
    <property>/sim/input/selected/engine[2]</property>
   </condition>
   <command>property-assign</command>
   <property>/controls/engines/engine[2]/starter</property>
   <value type="bool">true</value>
  </binding>

  <binding>
   <condition>
    <property>/sim/input/selected/engine[3]</property>
   </condition>
   <command>property-assign</command>
   <property>/controls/engines/engine[3]/starter</property>
   <value type="bool">true</value>
  </binding>

  <mod-up>
   <binding>
    <command>property-assign</command>
    <property>/controls/engines/engine[0]/starter</property>
    <value type="bool">false</value>
   </binding>
   <binding>
    <command>property-assign</command>
    <property>/controls/engines/engine[1]/starter</property>
    <value type="bool">false</value>
   </binding>
   <binding>
    <command>property-assign</command>
    <property>/controls/engines/engine[2]/starter</property>
    <value type="bool">false</value>
   </binding>
   <binding>
    <command>property-assign</command>
    <property>/controls/engines/engine[3]/starter</property>
    <value type="bool">false</value>
   </binding>
  </mod-up>

 </key>

 <key n="33">
  <name>!</name>
  <desc>Select first engine</desc>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[0]</property>
   <value type="bool">true</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[1]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[2]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[3]</property>
   <value type="bool">false</value>
  </binding>
 </key>

 <key n="35">
  <name>#</name>
  <desc>Select third engine</desc>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[0]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[1]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[2]</property>
   <value type="bool">true</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[3]</property>
   <value type="bool">false</value>
  </binding>
 </key>

 <key n="36">
  <name>$</name>
  <desc>Select fourth engine</desc>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[0]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[1]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[2]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[3]</property>
   <value type="bool">true</value>
  </binding>
 </key>
 
  <key n="39">
  <name>'</name>
  <desc>Display a dialog relevant to the tuned in ATC service (if any)</desc>
  <binding>
    <command>ATC-dialog</command>
  </binding>
 </key>

 <key n="43">
  <name>+</name>
  <desc>zoom in (decrease field of view)</desc>
  <binding>
   <command>property-multiply</command>
   <property>/sim/current-view/field-of-view</property>
   <factor type="double">0.9523809523809523</factor> <!-- 1 / 1.05 -->
  </binding>
 </key>

 <key n="44">
  <name>,</name>
  <desc>Left brake</desc>
  <binding>
   <command>property-assign</command>
   <property>/controls/gear/wheel[0]/brake</property>
   <value type="double">1.0</value>
  </binding>
  <mod-up>
   <binding>
    <command>property-assign</command>
    <property>/controls/gear/wheel[0]/brake</property>
    <value type="double">0.0</value>
   </binding>
  </mod-up>
 </key>

 <key n="45">
  <name>-</name>
  <desc>zoom out (decrease field of view)</desc>
  <binding>
   <command>property-multiply</command>
   <property>/sim/current-view/field-of-view</property>
   <factor type="double">1.05</factor>
  </binding>
 </key>

 <key n="46">
  <name>.</name>
  <desc>Right brake</desc>
  <binding>
   <command>property-assign</command>
   <property>/controls/gear/wheel[1]/brake</property>
   <value type="double">1.0</value>
  </binding>
  <mod-up>
   <binding>
    <command>property-assign</command>
    <property>/controls/gear/wheel[1]/brake</property>
    <value type="double">0.0</value>
   </binding>
  </mod-up>
 </key>

 <key n="48">
  <name>0</name>
  <desc>Move rudder left or increase autopilot heading.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/rudder</property>
   <step type="double">-0.05</step>
  </binding>
 </key>

 <key n="49">
  <name>1</name>
  <desc>Decrease elevator trim.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/elevator-trim</property>
   <step type="double">-0.001</step>
  </binding>
  <mod-shift>
    <desc>Look back left</desc>
    <binding>
     <command>property-assign</command>
     <property>/sim/current-view/goal-heading-offset-deg</property>
     <value alias="/sim/view/config/back-left-direction-deg"/>
    </binding>
  </mod-shift>
 </key>

 <key n="50">
  <name>2</name>
  <desc>Increase elevator or autopilot altitude.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/elevator</property>
   <step type="double">-0.01</step>
  </binding>
  <mod-shift>
   <desc>Look back.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/back-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="51">
  <name>3</name>
  <desc>Decrease throttle or autopilot autothrottle.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/throttle</property>
   <step type="double">-0.01</step>
  </binding>
  <mod-shift>
   <desc>Look back right.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/back-right-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="52">
  <name>4</name>
  <desc>Move aileron left.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/aileron</property>
   <step type="double">-0.05</step>
  </binding>
  <mod-shift>
   <desc>Look left.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/left-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="53">
  <name>5</name>
  <desc>Center aileron, elevator, and rudder.</desc>
  <binding>
   <command>property-assign</command>
   <property>/controls/flight/aileron</property>
   <value type="double">0.0</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/controls/flight/elevator</property>
   <value type="double">0.0</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/controls/flight/rudder</property>
   <value type="double">0.0</value>
  </binding>
 </key>

 <key n="54">
  <name>6</name>
  <desc>Move aileron right.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/aileron</property>
   <step type="double">0.05</step>
  </binding>
  <mod-shift>
   <desc>Look right.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/right-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="55">
  <name>7</name>
  <desc>Increase elevator trim.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/elevator-trim</property>
   <step type="double">0.001</step>
  </binding>
  <mod-shift>
   <desc>Look front left.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/front-left-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="56">
  <name>8</name>
  <desc>Decrease elevator or autopilot altitude.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/elevator</property>
   <step type="double">0.01</step>
  </binding>
  <mod-shift>
   <desc>Look forward.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/front-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="57">
  <name>9</name>
  <desc>Increase throttle or autopilot autothrottle.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/throttle</property>
   <step type="double">0.01</step>
  </binding>
  <mod-shift>
   <desc>Look front right.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/front-right-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="61">
  <name>=</name>
  <desc>Reset zoom to default</desc>
  <binding>
   <command>property-assign</command>
   <property>/sim/current-view/field-of-view</property>
   <value alias="/sim/view/config/default-field-of-view-deg"/>
  </binding>
 </key>

 <key n="64">
  <name>@</name>
  <desc>Select second engine</desc>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[0]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[1]</property>
   <value type="bool">true</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[2]</property>
   <value type="bool">false</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[3]</property>
   <value type="bool">false</value>
  </binding>
 </key>

 <key n="65">
  <name>A</name>
  <desc>Decrease speed-up.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/sim/speed-up</property>
   <min>1</min>
   <step type="double">-1</step>
  </binding>
 </key>

 <key n="66">
  <name>B</name>
  <desc>Toggle parking brake on or off</desc>
  <binding>
   <command>property-toggle</command>
   <property>/controls/gear/parking-brake</property>
  </binding>
 </key>

 <key n="67">
  <name>C</name>
  <desc>scripting test</desc>
  <binding>
   <command>script</command>
   <script>
    int main ()
    {
      print("Longitude: ", get_property("/position/longitude-deg"), " deg\n");
      print("Latitude: ", get_property("/position/latitude-deg"), " deg\n");
      print("Altitude: ", get_property("/position/altitude-ft"), " ft\n");
    }
   </script>
  </binding>
 </key>

 <key n="71">
  <name>G</name>
  <desc>Gear down.</desc>
  <binding>
   <command>property-assign</command>
   <property>/controls/gear/gear-down</property>
   <value type="double">1.0</value>
  </binding>
 </key>

 <key n="77">
  <name>M</name>
  <desc>Decrease warp.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/sim/time/warp</property>
   <step type="int">-60</step>
  </binding>
 </key>

 <key n="80">
  <name>P</name>
  <desc>Toggle panel.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/sim/panel/visibility</property>
  </binding>
 </key>

 <key n="84">
  <name>T</name>
  <desc>Decrease warp delta.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/sim/time/warp-delta</property>
   <step type="int">-30</step>
  </binding>
 </key>

 <key n="86">
  <name>V</name>
  <desc>Scroll in reverse through views.</desc>
  <binding>
    <command>property-adjust</command>
    <property>/sim/current-view/view-number</property>
    <step type="int">-1</step>
    <min type="int">0</min>
    <max type="int">5</max>
    <wrap type="bool">true</wrap>
  </binding>
 </key>

 <key n="87">
  <name>W</name>
  <desc>(Temporary) Toggle fullscreen for 3DFX only.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/sim/temp/full-screen</property>
  </binding>
 </key>

 <key n="88">
  <name>X</name>
  <desc>Increase field of view.</desc>
  <binding>
   <command>property-multiply</command>
   <property>/sim/current-view/field-of-view</property>
   <factor type="double">1.05</factor>
  </binding>
 </key>

 <key n="90">
  <name>Z</name>
  <desc>Decrease Visibility</desc>
  <binding>
   <command>decrease-visibility</command>
  </binding>
 </key>

 <key n="91">
  <name>[</name>
  <desc>Decrease flaps.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/flaps</property>
   <step type="double">-0.34</step>
  </binding>
 </key>

 <key n="93">
  <name>]</name>
  <desc>Increase flaps.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/flaps</property>
   <step type="double">0.34</step>
  </binding>
 </key>

 <key n="97">
  <name>a</name>
  <desc>Increase speed-up.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/sim/speed-up</property>
   <min>1</min>
   <step type="double">1</step>
  </binding>
 </key>

 <key n="98">
  <name>b</name>
  <desc>Apply all brakes.</desc>
  <binding>
   <command>property-assign</command>
   <property>/controls/gear/wheel[0]/brake</property>
   <value type="double">1.0</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/controls/gear/wheel[1]/brake</property>
   <value type="double">1.0</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/controls/gear/wheel[2]/brake</property>
   <value type="double">1.0</value>
  </binding>
  <mod-up>
   <desc>Release all brakes.</desc>
   <binding>
    <command>property-assign</command>
    <property>/controls/gear/wheel[0]/brake</property>
    <value type="double">0.0</value>
   </binding>
   <binding>
    <command>property-assign</command>
    <property>/controls/gear/wheel[1]/brake</property>
    <value type="double">0.0</value>
   </binding>
   <binding>
    <command>property-assign</command>
    <property>/controls/gear/wheel[2]/brake</property>
    <value type="double">0.0</value>
   </binding>
  </mod-up>
 </key>

 <key n="99">
  <name>c</name>
  <desc>Toggle 3D/2D cockpit</desc>
  <binding>
   <condition>
     <property>/sim/allow-toggle-cockpit</property>
   </condition>
   <command>property-assign</command>
   <property>/sim/current-view/heading-offset-deg</property>
   <value type="double">0</value>
  </binding>
  <binding>
   <condition>
     <property>/sim/allow-toggle-cockpit</property>
   </condition>
   <command>property-assign</command>
   <property>/sim/current-view/pitch-offset-deg</property>
   <value type="double">0</value>
  </binding>
  <binding>
   <condition>
     <property>/sim/allow-toggle-cockpit</property>
   </condition>
   <command>property-toggle</command>
   <property>/sim/view/internal</property>
  </binding>
  <binding>
   <condition>
     <property>/sim/allow-toggle-cockpit</property>
   </condition>
   <command>property-toggle</command>
   <property>/sim/virtual-cockpit</property>
  </binding>
 </key>

 <key n="103">
  <name>g</name>
  <desc>Gear Up.</desc>
  <binding>
   <command>property-assign</command>
   <property>/controls/gear/gear-down</property>
   <value type="double">0.0</value>
  </binding>
 </key>

 <key n="106">
  <name>j</name>
  <desc>Decrease spoilers.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/spoilers</property>
   <min>0</min>
   <step type="double">-0.25</step>
  </binding>
 </key>

 <key n="107">
  <name>k</name>
  <desc>Increase spoilers.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/spoilers</property>
   <max>1</max>
   <step type="double">0.25</step>
  </binding>
 </key>

 <key n="108">
  <name>l</name>
  <desc>Toggle tail-wheel lock.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/controls/gear/tailwheel-lock</property>
  </binding>
 </key>

 <key n="109">
  <name>m</name>
  <desc>Increase warp.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/sim/time/warp</property>
   <step type="int">60</step>
  </binding>
 </key>

 <key n="112">
  <name>p</name>
  <desc>Toggle the pause state of the sim.</desc>
  <binding>
   <command>property-toggle</command>
   <property>/sim/freeze/master</property>
  </binding>
  <binding>
   <command>property-toggle</command>
   <property>/sim/freeze/clock</property>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/freeze/replay</property>
   <value type="bool">false</value>
  </binding>
 </key>

 <key n="114">
  <name>r</name>
  <desc>Activate the instant replay system.</desc>
  <binding>
   <command>replay</command>
  </binding>
 </key>

 <key n="115">
  <name>s</name>
  <desc>Swap panels.</desc>
  <binding>
   <condition>
     <not>
     <property>/sim/allow-toggle-cockpit</property>
     </not>
   </condition>
   <command>property-swap</command>
   <property>/sim/panel/path</property>
   <property>/sim/panel_2/path</property>
  </binding>
  <binding>
   <condition>
     <not>
     <property>/sim/allow-toggle-cockpit</property>
     </not>
   </condition>
   <desc>Load panel.</desc>
   <command>panel-load</command>
  </binding>
 </key>

 <key n="116">
  <name>t</name>
  <desc>Increase warp delta.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/sim/time/warp-delta</property>
   <step type="int">30</step>
  </binding>
 </key>

 <key n="118">
  <name>v</name>
  <desc>Cycle view</desc>
  <desc>Scroll in reverse through views.</desc>
  <binding>
    <command>property-adjust</command>
    <property>/sim/current-view/view-number</property>
    <step type="int">1</step>
    <min type="int">0</min>
    <max type="int">6</max>
    <wrap type="bool">true</wrap>
  </binding>
 </key>

 <key n="120">
  <name>x</name>
  <desc>Decrease field of view.</desc>
  <binding>
   <command>property-multiply</command>
   <property>/sim/current-view/field-of-view</property>
   <factor type="double">0.952380952380</factor>
  </binding>
 </key>

 <key n="122">
  <name>z</name>
  <desc>Increase Visibility</desc>
  <binding>
   <command>increase-visibility</command>
  </binding>
 </key>

 <key n="123">
  <name>{</name>
  <desc>Decrease Magneto on Selected Engine</desc>
  <binding>
   <desc>first engine</desc>
   <condition>
    <property>/sim/input/selected/engine[0]</property>
   </condition>
   <command>property-adjust</command>
   <property>/controls/engines/engine[0]/magnetos</property>
   <step type="int">-1</step>
  </binding>
  <binding>
   <desc>second engine</desc>
   <condition>
    <property>/sim/input/selected/engine[1]</property>
   </condition>
   <command>property-adjust</command>
   <property>/controls/engines/engine[1]/magnetos</property>
   <step type="int">-1</step>
  </binding>
  <binding>
   <desc>third engine</desc>
   <condition>
    <property>/sim/input/selected/engine[2]</property>
   </condition>
   <command>property-adjust</command>
   <property>/controls/engines/engine[2]/magnetos</property>
   <step type="int">-1</step>
  </binding>
  <binding>
   <desc>fourth engine</desc>
   <condition>
    <property>/sim/input/selected/engine[3]</property>
   </condition>
   <command>property-adjust</command>
   <property>/controls/engines/engine[3]/magnetos</property>
   <step type="int">-1</step>
  </binding>
 </key>

 <key n="125">
  <name>}</name>
  <desc>Increase Magneto on Selected Engine</desc>
  <binding>
   <desc>first engine</desc>
   <condition>
    <property>/sim/input/selected/engine[0]</property>
   </condition>
   <command>property-adjust</command>
   <property>/controls/engines/engine[0]/magnetos</property>
   <step type="int">1</step>
  </binding>
  <binding>
   <desc>second engine</desc>
   <condition>
    <property>/sim/input/selected/engine[1]</property>
   </condition>
   <command>property-adjust</command>
   <property>/controls/engines/engine[1]/magnetos</property>
   <step type="int">1</step>
  </binding>
 </key>

 <key n="126">
  <name>~</name>
  <desc>Select all engines</desc>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[0]</property>
   <value type="bool">true</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[1]</property>
   <value type="bool">true</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[2]</property>
   <value type="bool">true</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/sim/input/selected/engine[3]</property>
   <value type="bool">true</value>
  </binding>
 </key>

 <key n="257">
  <name>F1</name>
  <mod-shift>
   <binding>
    <desc>Load flight.</desc>
    <command>load</command>
   </binding>
  </mod-shift>
 </key>

 <key n="258">
  <name>F2</name>
  <binding>
   <desc>Force tile cache reload.</desc>
   <command>tile-cache-reload</command>
  </binding>
  <mod-shift>
   <binding>
    <desc>Save flight.</desc>
    <command>save</command>
    <write-all>false</write-all>
   </binding>
  </mod-shift>
 </key>

 <key n="259">
  <name>F3</name>
  <desc>Capture screen.</desc>
  <binding>
   <command>screen-capture</command>
  </binding>
  <mod-shift>
   <binding>
    <desc>Load panel.</desc>
    <command>panel-load</command>
   </binding>
  </mod-shift>
 </key>

 <key n="260">
  <name>F4</name>
  <binding>
   <desc>Force lighting update.</desc>
   <command>lighting-update</command>
  </binding>
  <mod-shift>
   <binding>
    <desc>Reload global preferences.</desc>
    <command>preferences-load</command>
   </binding>
  </mod-shift>
 </key>

 <key n="261">
  <name>F5</name>
  <mod-shift>
   <binding>
    <desc>Scroll panel down</desc>
    <command>property-adjust</command>
    <property>/sim/panel/y-offset</property>
    <step type="int">-5</step>
   </binding>
  </mod-shift>
 </key>

 <key n="262">
  <name>F6</name>
  <mod-shift>
   <binding>
    <desc>Scroll panel up</desc>
    <command>property-adjust</command>
    <property>/sim/panel/y-offset</property>
    <step type="int">5</step>
   </binding>
  </mod-shift>
 </key>

 <key n="263">
  <name>F7</name>
  <mod-shift>
   <binding>
    <desc>Scroll panel left</desc>
    <command>property-adjust</command>
    <property>/sim/panel/x-offset</property>
    <step type="int">-5</step>
   </binding>
  </mod-shift>
 </key>

 <key n="264">
  <name>F8</name>
  <binding>
   <desc>Cycle fog type</desc>
   <command>property-cycle</command>
   <property>/sim/rendering/fog</property>
   <value>fastest</value>
   <value>nicest</value>
   <value>disabled</value>
  </binding>
  <mod-shift>
   <binding>
    <desc>Scroll panel right</desc>
    <command>property-adjust</command>
    <property>/sim/panel/x-offset</property>
    <step type="int">5</step>
   </binding>
  </mod-shift>
 </key>

 <key n="265">
  <name>F9</name>
  <binding>
   <desc>Toggle textures.</desc>
   <command>property-toggle</command>
   <property>/sim/rendering/textures</property>
  </binding>
 </key>

 <key n="266">
  <name>F10</name>
  <binding>
   <desc>Toggle menubar</desc>
   <command>property-toggle</command>
   <property>/sim/menubar/visibility</property>
  </binding>
  <mod-shift>
   <binding>
    <desc>Toggle FDM data logging.</desc>
    <command>property-toggle</command>
    <property>/sim/temp/fdm-data-logging</property>
   </binding>
  </mod-shift>
 </key>

 <key n="267">
  <name>F11</name>
  <binding>
   <desc>Pop up autopilot dialog</desc>
   <command>dialog-show</command>
   <dialog-name>autopilot</dialog-name>
  </binding>
 </key>

 <key n="269">
  <name>Enter</name>
  <desc>Move rudder right or increase autopilot heading.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/rudder</property>
   <step type="double">0.05</step>
  </binding>
 </key>

 <key n="309">
  <name>Keypad 5</name>
  <desc>Center aileron, elevator, and rudder.</desc>
  <binding>
   <command>property-assign</command>
   <property>/controls/flight/aileron</property>
   <value type="double">0.0</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/controls/flight/elevator</property>
   <value type="double">0.0</value>
  </binding>
  <binding>
   <command>property-assign</command>
   <property>/controls/flight/rudder</property>
   <value type="double">0.0</value>
  </binding>
 </key>

 <key n="356">
  <name>Left</name>
  <desc>Move aileron left.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/aileron</property>
   <step type="double">-0.05</step>
  </binding>
  <mod-shift>
   <desc>Look left.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/left-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="357">
  <name>Up</name>
  <desc>Increase elevator or autopilot altitude.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/elevator</property>
   <step type="double">0.05</step>
  </binding>
  <mod-shift>
   <desc>Look forward.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/front-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="358">
  <name>Right</name>
  <desc>Move aileron right.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/aileron</property>
   <step type="double">0.05</step>
  </binding>
  <mod-shift>
   <desc>Look right.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/right-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="359">
  <name>Down</name>
  <desc>Decrease elevator or autopilot altitude.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/elevator</property>
   <step type="double">-0.05</step>
  </binding>
  <mod-shift>
   <desc>Look backwards.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/back-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="360">
  <name>PageUp</name>
  <desc>Increase throttle or autopilot autothrottle.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/throttle</property>
   <step type="double">0.01</step>
  </binding>
  <mod-shift>
   <desc>Look front right.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/front-right-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="361">
  <name>PageDown</name>
  <desc>Decrease throttle or autopilot autothrottle.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/throttle</property>
   <step type="double">-0.01</step>
  </binding>
  <mod-shift>
   <desc>Look back right.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/back-right-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="362">
  <name>Home</name>
  <desc>Increase elevator trim.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/elevator-trim</property>
   <step type="double">0.001</step>
  </binding>
  <mod-shift>
   <desc>Look front left.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/front-left-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="363">
  <name>End</name>
  <desc>Decrease elevator trim.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/elevator-trim</property>
   <step type="double">-0.001</step>
  </binding>
  <mod-shift>
   <desc>Look back left.</desc>
   <binding>
    <command>property-assign</command>
    <property>/sim/current-view/goal-heading-offset-deg</property>
    <value alias="/sim/view/config/back-left-direction-deg"/>
   </binding>
  </mod-shift>
 </key>

 <key n="364">
  <name>Insert</name>
  <desc>Move rudder left or decrease autopilot heading.</desc>
  <binding>
   <command>property-adjust</command>
   <property>/autopilot/control-overrides/rudder</property>
   <step type="double">-0.05</step>
  </binding>
 </key>

</PropertyList>

<!-- end of keyboard.xml -->