<?xml version="1.0"?>
<!DOCTYPE PropertyList SYSTEM "panel.dtd">
<!-- This part should be the same for any 3D panel.  Customize the actions section -->
<PropertyList>
  <name>Hunter Panel Hotspots</name>
  <background>Aircraft/Hunter/Models/transparent-bg.rgb</background>
  <w>1024</w>
  <h>768</h>
  <y-offset>0</y-offset>
  <instruments>
    <instrument>
      <name>Flaps Control</name>
      <y>384</y>
      <w>1024</w>
      <h>768</h>
      <w-base>1024</w-base>
      <h-base>1024</h-base>
      <x>512</x>
      <layers>
        <layer>
          <name>background</name>
          <texture>
            <path>Aircraft/Hunter/Models/transparent-bg.rgb</path>
            <x1>0.0</x1>
            <y1>0.0</y1>
            <x2>1.0</x2>
            <y2>1.0</y2>
          </texture>
        </layer>
        <!--
  <layer>
   <name>grid</name>
   <texture>
     <path>Aircraft/Hunter/Models/hotspotgrid.rgb</path>
     <x1>0.0</x1>
     <y1>0.0</y1>
     <x2>1.0</x2>
     <y2>1.0</y2>
   </texture>
  </layer>
 -->
      </layers>
      <!-- define hotspot actions below -->
      <actions>
        <!-- ************** hsi hotspots ************** -->
        <!-- left knob heading-bug -->
        <!--<action>
          <name>ccw-fine</name>
          <button>0</button>
          <x>-100</x>
          <y>100</y>
          <w>50</w>
          <h>50</h>
          <binding>
            <command>property-adjust</command>
            <property>instrumentation/heading-indicator/heading-bug-deg/</property>
            <step>-1</step>
            <min>0</min>
            <max>360</max>
            <wrap>true</wrap>
          </binding>
        </action>
        <action>
          <name>ccw-coarse</name>
          <button>1</button>
          <x>-100</x>
          <y>100</y>
          <w>50</w>
          <h>50</h>
          <binding>
            <command>property-adjust</command>
            <property>instrumentation/heading-indicator/heading-bug-deg</property>
            <step>-10</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
          </binding>
        </action>-->
        <!--<action>
          <name>cw-fine</name>
          <button>0</button>
          <x>-40</x>
          <y>100</y>
          <w>50</w>
          <h>50</h>
          <binding>
            <command>property-adjust</command>
            <property>instrumentation/heading-indicator/heading-bug-deg/</property>
            <step>1</step>
            <min>0</min>
            <max>360</max>
            <wrap>true</wrap>
          </binding>
        </action>
        <action>
          <name>cw-coarse</name>
          <button>1</button>
          <x>-40</x>
          <y>100</y>
          <w>50</w>
          <h>50</h>
          <binding>
            <command>property-adjust</command>
            <property>instrumentation/heading-indicator/heading-bug-deg/</property>
            <step>10</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
          </binding>
        </action>-->
        <!-- right knob source select -->
        <!--<action>
          <name>source select</name>
          <button>0</button>
          <x>35</x>
          <y>115</y>
          <w>30</w>
          <h>30</h>
          <binding>
            <command>property-toggle</command>
            <property>instrumentation/heading-indicator/heading-source/</property>
          </binding>
        </action>-->
        <!-- ************** altimeter hotspots ************** -->
        <action>
          <name>calibrate fine</name>
          <button>0</button>
          <x>-170</x>
          <y>150</y>
          <w>50</w>
          <h>50</h>
          <binding>
            <command>property-adjust</command>
            <property>instrumentation/altimeter/setting-inhg</property>
            <step>-0.01</step>
            <min>26.0</min>
            <max>33.0</max>
            <wrap>false</wrap>
          </binding>
        </action>
        <action>
          <name>calibrate coarse</name>
          <button>1</button>
          <x>-170</x>
          <y>150</y>
          <w>50</w>
          <h>50</h>
          <binding>
            <command>property-adjust</command>
            <property>instrumentation/altimeter/setting-inhg</property>
            <step>-0.1</step>
            <min>26.0</min>
            <max>33.0</max>
            <wrap>false</wrap>
          </binding>
        </action>
        <action>
          <name>calibrate fine</name>
          <button>0</button>
          <x>-120</x>
          <y>150</y>
          <w>50</w>
          <h>50</h>
          <binding>
            <command>property-adjust</command>
            <property>instrumentation/altimeter/setting-inhg</property>
            <step>0.01</step>
            <min>26.0</min>
            <max>33.0</max>
            <wrap>false</wrap>
          </binding>
        </action>
        <action>
          <name>calibrate coarse</name>
          <button>1</button>
          <x>-120</x>
          <y>150</y>
          <w>50</w>
          <h>50</h>
          <binding>
            <command>property-adjust</command>
            <property>instrumentation/altimeter/setting-inhg</property>
            <step>0.1</step>
            <min>26.0</min>
            <max>33.0</max>
            <wrap>false</wrap>
          </binding>
        </action>
        <!-- ingition switch hotspots -->
        <!--
  <action>
   <name>switch up</name>
   <button>0</button>
   <x>-254</x>
   <y>-230</y>
   <w>64</w>
   <h>81</h>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[0]/magnetos</property>
    <step>1</step>
    <min>0</min>
    <max>3</max>
    <wrap>0</wrap>
   </binding>
  </action>

  <action>
   <name>switch down</name>
   <button>0</button>
   <x>-190</x>
   <y>-230</y>
   <w>64</w>
   <h>81</h>
   <binding>
    <command>property-adjust</command>
    <property>/controls/engines/engine[0]/magnetos</property>
    <step>-1</step>
    <min>0</min>
    <max>3</max>
    <wrap>0</wrap>
   </binding>
  </action>

-->
        <!-- flaps control -->
        <!--<action>
          <name>extend</name>
          <button>0</button>
          <x>-290</x>
          <y>100</y>
          <w>30</w>
          <h>80</h>
          <binding>
            <condition>
              --><!--disable normal flap control if emgy lowering used--><!--
              <equals>
                <property>controls/flight/flaps-alternate-extension</property>
                <value>1</value>
              </equals>
            </condition>
            <command>property-adjust</command>
            <property>controls/flight/flaps</property>
            <step>0.10</step>
            <min>0.0</min>
            <max>1.0</max>
            <wrap>false</wrap>
          </binding>
        </action>
        <action>
          <name>retract</name>
          <button>0</button>
          <x>-290</x>
          <y>200</y>
          <w>30</w>
          <h>50</h>
          <binding>
            <condition>
              --><!--disable normal flap control if emgy lowering used--><!--
              <equals>
                <property>controls/flight/flaps-alternate-extension</property>
                <value>1</value>
              </equals>
            </condition>
            <command>property-adjust</command>
            <property>controls/flight/flaps</property>
            <step>-0.10</step>
            <min>0.0</min>
            <max>1.0</max>
            <wrap>false</wrap>
          </binding>
        </action>-->
        <!--emergency flap lowering-->
        <!--<action>
          <name>emergy flap lowering</name>
          <button>0</button>
          <x>-320</x>
          <y>250</y>
          <w>30</w>
          <h>40</h>
          <binding>
            <command>property-assign</command>
            <property>controls/flight/flaps-alternate-extension</property>
            <value type="double">0</value>
          </binding>
          <binding>
            <command>property-assign</command>
            <property>/controls/flight/flaps</property>
            <value type="double">1</value>
          </binding>
        </action>-->
        <!--gear control-->
        <!--<action>
          <name>extend</name>
          <button>0</button>
          <x>-380</x>
          <y>150</y>
          <w>40</w>
          <h>40</h>
          <binding>
            <condition>
              disable normal gear control if emgy lowering used
              <equals>
                <property>controls/gear/gear-alternate-extension</property>
                <value>1</value>
              </equals>
            </condition>
            <command>property-assign</command>
            <property>/controls/gear/gear-down</property>
            <value type="double">1.0</value>
          </binding>
        </action>
        <action>
          <name>retract</name>
          <button>0</button>
          <x>-380</x>
          <y>225</y>
          <w>40</w>
          <h>40</h>
          <binding>
            <condition>
              disable normal gear control if emgy lowering used
              <equals>
                <property>controls/gear/gear-alternate-extension</property>
                <value>1</value>
              </equals>
            </condition>
            <command>property-assign</command>
            <property>/controls/gear/gear-down</property>
            <value type="double">0</value>
          </binding>
        </action>-->
        <!--  cockpit light dimmer hotspots -->
        <!--<action>
          <name>panel brighter</name>
          <button>0</button>
          <x>65</x>
          <y>135</y>
          <w>30</w>
          <h>30</h>
          <binding>
            <command>property-adjust</command>
            <property>/controls/lighting/panel-norm</property>
            <step>-0.1</step>
            <min>0</min>
            <max>1</max>
            <wrap>0</wrap>
          </binding>
        </action>
        <action>
          <name>panel dimmer</name>
          <button>0</button>
          <x>95</x>
          <y>135</y>
          <w>30</w>
          <h>30</h>
          <binding>
            <command>property-adjust</command>
            <property>/controls/lighting/panel-norm</property>
            <step>0.1</step>
            <min>0</min>
            <max>1</max>
            <wrap>0</wrap>
          </binding>
        </action>-->
        <!-- navigation light switch -->
        <action>
          <name>nav light up</name>
          <button>0</button>
          <x>140</x>
          <y>155</y>
          <w>30</w>
          <h>30</h>
          <binding>
            <command>property-assign</command>
            <property>/controls/lighting/nav-lights</property>
            <value type="bool">1</value>
          </binding>
        </action>
        <action>
          <name>nav light down</name>
          <button>0</button>
          <x>140</x>
          <y>125</y>
          <w>30</w>
          <h>30</h>
          <binding>
            <command>property-assign</command>
            <property>/controls/lighting/nav-lights</property>
            <value type="bool">0</value>
          </binding>
        </action>
      </actions>
    </instrument>
  </instruments>
</PropertyList>
