<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- KLN90B GPS receiver Syd Adams
     Updated by Helijah 2013       -->
<PropertyList>

  <path>kln90b.ac</path>

  <animation>
    <object-name>KLN90B</object-name>
    <object-name>KLN90B.screen</object-name>
    <object-name>MSG.btn</object-name>
    <object-name>ALT.btn</object-name>
    <object-name>DIRECT.btn</object-name>
    <object-name>CLR.btn</object-name>
    <object-name>ENT.btn</object-name>
    <object-name>CRSR.btn</object-name>
    <object-name>KLN90B.pwr</object-name>
    <object-name>KLN90B.lhknob</object-name>
    <object-name>KLN90B.lhknob1</object-name>
    <object-name>KLN90B.rhknob</object-name>
    <object-name>KLN90B.rhknob1</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>KLN90B</object-name>
    <object-name>KLN90B.screen</object-name>
    <object-name>MSG.btn</object-name>
    <object-name>ALT.btn</object-name>
    <object-name>DIRECT.btn</object-name>
    <object-name>CLR.btn</object-name>
    <object-name>ENT.btn</object-name>
    <object-name>CRSR.btn</object-name>
    <object-name>KLN90B.pwr</object-name>
    <object-name>KLN90B.lhknob</object-name>
    <object-name>KLN90B.lhknob1</object-name>
    <object-name>KLN90B.rhknob</object-name>
    <object-name>KLN90B.rhknob1</object-name>
  </animation>

  <panel>
    <name>GPS screen</name>
    <path>Aircraft/Diamond-Da40/Models/Interior/Panel/Instruments/gps/gps.xml</path>
    <bottom-left>
      <x-m>  0.003 </x-m>
      <y-m> -0.033 </y-m>
      <z-m> -0.013 </z-m>
    </bottom-left>
    <bottom-right>
      <x-m>  0.003 </x-m>
      <y-m>  0.033 </y-m>
      <z-m> -0.013 </z-m>
    </bottom-right>
    <top-left>
      <x-m>  0.003 </x-m>
      <y-m> -0.033 </y-m>
      <z-m>  0.018 </z-m>
    </top-left>
  </panel>

  <!--  hotspots  -->
  <!-- LH knob -->
  <animation>
    <type>pick</type>
    <object-name>KLN90B.lhknob</object-name>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.lh_menu(-1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.lhknob</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.lh_menu(1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.lhknob</object-name>
    <action>
      <button>4</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.lh_menu(-1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.lhknob</object-name>
    <action>
      <button>3</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.lh_menu(1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.lhknob1</object-name>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.lh_page(-1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.lhknob1</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.lh_page(1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.lhknob1</object-name>
    <action>
      <button>4</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.lh_page(-1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.lhknob1</object-name>
    <action>
      <button>3</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.lh_page(1)</script>
      </binding>
    </action>
  </animation>

  <!-- RH knob -->
  <animation>
    <type>pick</type>
    <object-name>KLN90B.rhknob</object-name>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.rh_menu(-1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.rhknob</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.rh_menu(1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.rhknob</object-name>
    <action>
      <button>4</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.rh_menu(-1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.rhknob</object-name>
    <action>
      <button>3</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.rh_menu(1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.rhknob1</object-name>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.rh_page(-1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.rhknob1</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.rh_page(1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.rhknob1</object-name>
    <action>
      <button>4</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.rh_page(-1)</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>KLN90B.rhknob1</object-name>
    <action>
      <button>3</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.rh_page(1)</script>
      </binding>
    </action>
  </animation>

  <!-- Buttons -->
  <animation>
    <type>pick</type>
    <object-name>KLN90B.pwr</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-toggle</command>
        <property>instrumentation/gps/serviceable</property>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>DIRECT.btn</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>systems.Gps.direct_to();</script>
      </binding>
    </action>
  </animation>

</PropertyList>
