Update to use tooltips, knobs and new instrument.
This commit is contained in:
parent
dfc53ff647
commit
112b41b851
1 changed files with 90 additions and 428 deletions
|
@ -23,9 +23,9 @@
|
|||
<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>
|
||||
<property>instrumentation/kt-70/altitude</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<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>
|
||||
<property>instrumentation/kt-70/altitude</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -47,9 +47,9 @@
|
|||
<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>
|
||||
<property>instrumentation/kt-70/altitude</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -74,9 +74,9 @@
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>digit1</object-name>
|
||||
<property>instrumentation/kt-70/outputs/id-code</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<property>instrumentation/kt-70/inputs/digit[3]</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -86,9 +86,9 @@
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>digit2</object-name>
|
||||
<property>instrumentation/kt-70/outputs/id-code</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<property>instrumentation/kt-70/inputs/digit[2]</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -99,9 +99,9 @@
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>digit3</object-name>
|
||||
<property>instrumentation/kt-70/outputs/id-code</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<property>instrumentation/kt-70/inputs/digit[1]</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -112,7 +112,7 @@
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>digit4</object-name>
|
||||
<property>instrumentation/kt-70/outputs/id-code</property>
|
||||
<property>instrumentation/kt-70/inputs/digit[0]</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
|
@ -185,93 +185,11 @@
|
|||
|
||||
<!-- 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>
|
||||
<type>knob</type>
|
||||
|
||||
<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>
|
||||
<proxy-name>click-func-L</proxy-name>
|
||||
<proxy-name>click-func-R</proxy-name>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>knob0</object-name>
|
||||
<property>instrumentation/kt-70/inputs/func-knob</property>
|
||||
<factor>30</factor>
|
||||
|
@ -286,359 +204,100 @@
|
|||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<action>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kt-70/inputs/func-knob</property>
|
||||
<factor>1</factor>
|
||||
<min>0</min>
|
||||
<max>5</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<hovered>
|
||||
<binding>
|
||||
<command>set-tooltip</command>
|
||||
<tooltip-id>kt70-func</tooltip-id>
|
||||
<label>Transponder mode: %s</label>
|
||||
<property>instrumentation/kt-70/inputs/knob-mode</property>
|
||||
<mapping>nasal</mapping>
|
||||
<script>
|
||||
var m = arg[0];
|
||||
if(m == 1) return 'STANBDY';
|
||||
if(m == 3) return 'GROUND';
|
||||
if(m == 4) return 'ON';
|
||||
if(m == 5) return 'ALTITUDE';
|
||||
if(m == 2) return 'TEST';
|
||||
return 'OFF';
|
||||
</script>
|
||||
</binding>
|
||||
</hovered>
|
||||
</animation>
|
||||
|
||||
<!-- Numbers -->
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<type>knob</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>
|
||||
<property>instrumentation/kt-70/inputs/digit[3]</property>
|
||||
<min>0</min>
|
||||
<max>8</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<!-- Number2 -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<type>knob</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>
|
||||
<property>instrumentation/kt-70/inputs/digit[2]</property>
|
||||
<min>0</min>
|
||||
<max>8</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<!-- Number3 -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<type>knob</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>
|
||||
<property>instrumentation/kt-70/inputs/digit[1]</property>
|
||||
<min>0</min>
|
||||
<max>8</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<!-- Number4 -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<type>knob</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>
|
||||
<property>instrumentation/kt-70/inputs/digit[0]</property>
|
||||
<min>0</min>
|
||||
<max>8</max>
|
||||
<wrap>true</wrap>
|
||||
|
@ -646,6 +305,8 @@
|
|||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- buttons -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>ident-btn</object-name>
|
||||
|
@ -665,6 +326,14 @@
|
|||
</binding>
|
||||
</mod-up>
|
||||
</action>
|
||||
|
||||
<hovered>
|
||||
<binding>
|
||||
<command>set-tooltip</command>
|
||||
<tooltip-id>kt70-ident</tooltip-id>
|
||||
<label>Identify to ATC</label>
|
||||
</binding>
|
||||
</hovered>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
|
@ -675,25 +344,18 @@
|
|||
<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>
|
||||
<property>instrumentation/kt-70/id-code</property>
|
||||
<value>1200</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<hovered>
|
||||
<binding>
|
||||
<command>set-tooltip</command>
|
||||
<tooltip-id>kt70-vfr</tooltip-id>
|
||||
<label>Set ID code to 1200 (VFR)</label>
|
||||
</binding>
|
||||
</hovered>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
|
Loading…
Reference in a new issue