<?xml version="1.0"?>
<PropertyList>
  <path>kt70.ac</path>

<animation>
   <type>material</type>
   <object-name>knob0</object-name>
   <object-name>knob4</object-name>
   <object-name>knob3</object-name>
   <object-name>knob2</object-name>
   <object-name>knob1</object-name>
   <object-name>vfr-btn</object-name>
   <object-name>base</object-name>
   <object-name>ident-btn</object-name>
   <emission>
      <red>0.75</red>
      <green>0.25</green>
      <blue>0.10</blue>
      <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
   </emission>
  </animation>

 <animation>
   <type>textranslate</type>
   <object-name>alt-dig-1</object-name>
   <property>instrumentation/kt-70/outputs/flight-level</property>
   <factor>0.001</factor>
   <step>100</step>
   <axis>
     <x>1</x>
     <y>0</y>
     <z>0</z>
   </axis>
 </animation>
 <animation>
   <type>textranslate</type>
   <object-name>alt-dig-2</object-name>
   <property>instrumentation/kt-70/outputs/flight-level</property>
   <factor>0.01</factor>
   <step>10</step>
   <axis>
     <x>1</x>
     <y>0</y>
     <z>0</z>
   </axis>
 </animation>
 <animation>
   <type>textranslate</type>
   <object-name>alt-dig-3</object-name>
   <property>instrumentation/kt-70/outputs/flight-level</property>
   <factor>0.1</factor>
   <step>1</step>
   <axis>
     <x>1</x>
     <y>0</y>
     <z>0</z>
   </axis>
 </animation>
<!--  Don't display the transponder code unless there is power  -->
 <animation>
   <type>select</type>
   <object-name>digit1</object-name>
   <object-name>digit2</object-name>
   <object-name>digit3</object-name>
   <object-name>digit4</object-name>
   <condition>
    <greater-than>
     <property>systems/electrical/outputs/transponder</property>
     <value>8.0</value>
    </greater-than>
   </condition>
 </animation>

 <animation>
   <type>textranslate</type>
   <object-name>digit1</object-name>
   <property>instrumentation/kt-70/outputs/id-code</property>
   <factor>0.0001</factor>
   <step>1000</step>
   <axis>
     <x>1</x>
     <y>0</y>
     <z>0</z>
   </axis>
 </animation>
 <animation>
   <type>textranslate</type>
   <object-name>digit2</object-name>
   <property>instrumentation/kt-70/outputs/id-code</property>
   <factor>0.001</factor>
   <step>100</step>
   <axis>
     <x>1</x>
     <y>0</y>
     <z>0</z>
   </axis>
 </animation>
 
 <animation>
   <type>textranslate</type>
   <object-name>digit3</object-name>
   <property>instrumentation/kt-70/outputs/id-code</property>
   <factor>0.01</factor>
   <step>10</step>
   <axis>
     <x>1</x>
     <y>0</y>
     <z>0</z>
   </axis>
 </animation>
 
 <animation>
   <type>textranslate</type>
   <object-name>digit4</object-name>
   <property>instrumentation/kt-70/outputs/id-code</property>
   <factor>0.1</factor>
   <step>1</step>
   <axis>
     <x>1</x>
     <y>0</y>
     <z>0</z>
   </axis>
 </animation>

<!-- Annunciators -->
  <animation>
    <type>select</type>
    <object-name>alt</object-name>
    <condition>
      <property>instrumentation/kt-70/annunciators/alt</property>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>fl</object-name>
    <condition>
      <property>instrumentation/kt-70/annunciators/fl</property>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>gnd</object-name>
    <condition>
      <property>instrumentation/kt-70/annunciators/gnd</property>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>on</object-name>
    <condition>
      <property>instrumentation/kt-70/annunciators/on</property>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>reply</object-name>
    <condition>
      <property>instrumentation/kt-70/annunciators/reply</property>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>sby</object-name>
    <condition>
      <property>instrumentation/kt-70/annunciators/sby</property>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>digits</object-name>
    <condition>
      <greater-than>
        <property>instrumentation/kt-70/inputs/func-knob</property>
        <value>1</value>
      </greater-than>        
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>altitude</object-name>
    <condition>
      <property>instrumentation/kt-70/annunciators/fl</property>
    </condition>
  </animation>

<!-- Controls -->
  <animation>
    <type>pick</type>
    <object-name>click-func-L</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>1</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/func-knob</property>
        <step>-1</step>
        <min>0</min>
        <max>5</max>
        <wrap>false</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/func-knob</property>
        <step>-1</step>
        <min>0</min>
        <max>5</max>
        <wrap>false</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/func-knob</property>
        <step>1</step>
        <min>0</min>
        <max>5</max>
        <wrap>false</wrap>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>click-func-R</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>1</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/func-knob</property>
        <step>1</step>
        <min>0</min>
        <max>5</max>
        <wrap>false</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/func-knob</property>
        <step>-1</step>
        <min>0</min>
        <max>5</max>
        <wrap>false</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/func-knob</property>
        <step>1</step>
        <min>0</min>
        <max>5</max>
        <wrap>false</wrap>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>knob0</object-name>
    <property>instrumentation/kt-70/inputs/func-knob</property>
    <factor>30</factor>
    <offset-deg>-90</offset-deg>
    <center>
      <x-m> 0</x-m>
      <y-m> 0.0622</y-m>
      <z-m> 0.0053</z-m>
    </center>
    <axis>
      <x>-1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>


<!-- Numbers -->
  <animation>
    <type>pick</type>
    <object-name>click-digit1-L</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit1</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit1</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit1</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
  <animation>
    <type>pick</type>
    <object-name>click-digit1-R</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit1</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit1</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit1</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
<!-- Number2 -->
  <animation>
    <type>pick</type>
    <object-name>click-digit2-L</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit2</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit2</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit2</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
  <animation>
    <type>pick</type>
    <object-name>click-digit2-R</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit2</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit2</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit2</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
<!-- Number3 -->
  <animation>
    <type>pick</type>
    <object-name>click-digit3-L</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit3</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit3</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit3</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
  <animation>
    <type>pick</type>
    <object-name>click-digit3-R</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit3</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit3</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit3</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
<!-- Number4 -->
  <animation>
    <type>pick</type>
    <object-name>click-digit4-L</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit4</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit4</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit4</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>
  <animation>
    <type>pick</type>
    <object-name>click-digit4-R</object-name>
    <visible>false</visible>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit4</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit4</property>
        <step>-1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <interval-sec>0.5</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/kt-70/inputs/digit4</property>
        <step>1</step>
        <min>0</min>
        <max>8</max>
        <wrap>true</wrap>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>ident-btn</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kt-70/inputs/ident-btn</property>
        <value>true</value>
      </binding>
      <mod-up>
        <binding>
          <command>property-assign</command>
          <property>instrumentation/kt-70/inputs/ident-btn</property>
          <value>false</value>
        </binding>
      </mod-up>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>vfr-btn</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kt-70/inputs/digit1</property>
        <value>1</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kt-70/inputs/digit2</property>
        <value>2</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kt-70/inputs/digit3</property>
        <value>0</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kt-70/inputs/digit4</property>
        <value>0</value>
      </binding>
    </action>
  </animation>
  
  </PropertyList>