<?xml version="1.0"?>

<!-- Master propeller lever.


This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org).  The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.

Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off).  Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.

Actions are hotspots on the instrument that will respond to a mouse
click.  Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.

-->

<PropertyList>

 <name>pitch all engines</name>
 <w-base>22</w-base>
 <h-base>80</h-base>

 <layers>

  <layer>
   <name>backplate</name>
   <texture>
    <path>Aircraft/Lockheed1049/Panels/Instruments/Textures/faces-LE-misc1.rgb</path>
    <x1>0.0</x1>
    <x2>0.125</x2>
    <y1>0.75</y1>
    <y2>1.0</y2>
   </texture>
   <w>22</w>
   <h>80</h>
  </layer>

<!-- reheat -->

  <layer>
   <name>reheat handle </name>
   <texture>
    <path>Aircraft/Lockheed1049/Panels/Instruments/Textures/handles.rgb</path>
    <x1>0.0</x1>
    <x2>0.37890625</x2>
    <y1>0.6015625</y1>
    <y2>0.72265625</y2>
   </texture>
   <w>20</w>
   <h>30</h>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>0</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <property>/controls/engines/engine[0]/propeller-pitch</property>
     <min>0.0</min>
     <max>1.0</max>
     <scale>40</scale>
     <offset>-20</offset>
    </transformation>
   </transformations>
  </layer>

 </layers>

 <actions>

  <action>
   <name>small decrease</name>
   <button>0</button>
   <x>-9</x>
   <y>-18</y>
   <w>18</w>
   <h>16</h>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[0]/propeller-pitch</property>
    <step>-0.01</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[1]/propeller-pitch</property>
    <step>-0.01</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[2]/propeller-pitch</property>
    <step>-0.01</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[3]/propeller-pitch</property>
    <step>-0.01</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
  </action>

  <action>
   <name>small increase</name>
   <button>0</button>
   <x>-9</x>
   <y>2</y>
   <w>18</w>
   <h>16</h>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[0]/propeller-pitch</property>
    <step>0.01</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[1]/propeller-pitch</property>
    <step>0.01</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[2]/propeller-pitch</property>
    <step>0.01</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[3]/propeller-pitch</property>
    <step>0.01</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
  </action>

  <action>
   <name>big decrease</name>
   <button>0</button>
   <x>-9</x>
   <y>-38</y>
   <w>18</w>
   <h>16</h>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[0]/propeller-pitch</property>
    <step>-0.1</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[1]/propeller-pitch</property>
    <step>-0.1</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[2]/propeller-pitch</property>
    <step>-0.1</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[3]/propeller-pitch</property>
    <step>-0.1</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
  </action>

  <action>
   <name>big increase</name>
   <button>0</button>
   <x>-9</x>
   <y>22</y>
   <w>18</w>
   <h>16</h>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[0]/propeller-pitch</property>
    <step>0.1</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[1]/propeller-pitch</property>
    <step>0.1</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[2]/propeller-pitch</property>
    <step>0.1</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[3]/propeller-pitch</property>
    <step>0.1</step>
    <min>0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
  </action>

 </actions>

</PropertyList>
