Integrates existing soaring instruments with the soaring sdk
[fg:toms-fgdata.git] / Aircraft / Instruments-3d / glider / vario / ilec-sc7 / ilec-sc7.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5  <path>ilec-sc7.ac</path>
6
7  <animation>
8   <type>material</type>
9   <object-name>face</object-name>
10   <object-name>Needle</object-name>
11   <object-name>decimals-digit</object-name>
12   <object-name>units-digit</object-name>
13   <object-name>sign-digit</object-name>
14   <object-name>dot-digit</object-name>
15   <emission>
16           <red>0.028</red>
17           <green>0.014</green>
18           <blue>0.007</blue>
19           <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
20         </emission>
21  </animation>
22
23  <!--needle-->
24
25  <animation>
26   <type>rotate</type>
27   <object-name>Needle</object-name>
28   <property>/instrumentation/ilec-sc7/te-reading-mps</property>
29   <interpolation>
30    <entry><ind>    -5</ind><dep>-119.713</dep></entry>
31    <entry><ind>    0.0</ind><dep>   0.0</dep></entry>
32    <entry><ind>    5</ind><dep>119.7135</dep></entry>
33   </interpolation>
34   <center>
35    <x-m>0.000</x-m>
36    <y-m>-0.007</y-m>
37    <z-m>0.000</z-m>
38   </center>
39   <axis>
40    <x>-1</x>
41    <y>0</y>
42    <z>0</z>
43   </axis>
44  </animation>
45
46  <!-- mc cready -->
47
48   <animation>
49   <type>rotate</type>
50   <object-name>mc-cready</object-name>
51   <property>/instrumentation/mc-cready/rot</property>
52   <factor>1</factor>
53   <center>
54    <x-m>0.000</x-m>
55    <y-m>-0.007</y-m>
56    <z-m>0.000</z-m>
57   </center>
58   <axis>
59    <x>-1</x>
60    <y>0</y>
61    <z>0</z>
62   </axis>
63  </animation>
64
65    <animation>
66   <type>pick</type>
67   <object-name>mc-cready</object-name>
68   <action>
69     <name>increase mc-cready</name>
70     <button>0</button>
71     <button>3</button>
72     <repeatable>true</repeatable>
73     <binding>
74       <command>property-adjust</command>
75       <property>/instrumentation/mc-cready/rot</property>
76       <step>2</step>
77       <min>0</min>
78       <max>360</max>
79       <wrap>true</wrap>
80     </binding>
81   </action>
82   </animation>
83
84   <animation>
85   <type>pick</type>
86   <object-name>mc-cready</object-name>
87   <action>
88     <name>decrease mc-cready</name>
89     <button>1</button>
90     <button>4</button>
91     <repeatable>true</repeatable>
92     <binding>
93       <command>property-adjust</command>
94       <property>/instrumentation/mc-cready/rot</property>
95       <step>-2</step>
96       <min>0</min>
97       <max>360</max>
98       <wrap>true</wrap>
99     </binding>
100   </action>
101   </animation>
102
103   <!-- volume -->
104
105    <animation>
106   <type>rotate</type>
107   <object-name>vol-knob</object-name>
108   <property>/instrumentation/ilec-sc7/volume</property>
109   <factor>360</factor>
110   <center>
111    <x-m>0.003</x-m>
112    <y-m>0.027</y-m>
113    <z-m>0.011</z-m>
114   </center>
115   <axis>
116    <x>-1</x>
117    <y>0</y>
118    <z>0</z>
119   </axis>
120  </animation>
121
122    <animation>
123   <type>pick</type>
124   <object-name>vol-knob</object-name>
125   <action>
126     <name>increase audio volume</name>
127     <button>0</button>
128     <button>3</button>
129     <repeatable>true</repeatable>
130     <binding>
131       <command>property-adjust</command>
132       <property>/instrumentation/ilec-sc7/volume</property>
133       <step>0.05</step>
134       <min>0</min>
135       <max>1</max>
136       <wrap>false</wrap>
137     </binding>
138   </action>
139   </animation>
140
141   <animation>
142   <type>pick</type>
143   <object-name>vol-knob</object-name>
144   <action>
145     <name>decrease audio volume</name>
146     <button>1</button>
147     <button>4</button>
148     <repeatable>true</repeatable>
149     <binding>
150       <command>property-adjust</command>
151       <property>/instrumentation/ilec-sc7/volume</property>
152       <step>-0.05</step>
153       <min>0</min>
154       <max>1</max>
155       <wrap>false</wrap>
156     </binding>
157   </action>
158   </animation>
159
160   <!-- audio switch -->
161
162      <animation>
163         <type>rotate</type>
164         <object-name>audio-switch</object-name>
165         <property>instrumentation/ilec-sc7/audio</property>
166         <interpolation>
167             <entry><ind>0</ind><dep>-30</dep></entry>
168             <entry><ind>1.0</ind><dep>0</dep></entry>
169             <entry><ind>2.0</ind><dep>30</dep></entry>
170         </interpolation>
171         <center>
172             <x-m>0.001</x-m>
173             <y-m>0.005</y-m>
174             <z-m>0.031</z-m>
175         </center>
176         <axis>
177             <x>0</x>
178             <y>-1</y>
179             <z>0</z>
180         </axis>
181     </animation>
182
183       <animation>
184         <type>pick</type>
185         <object-name>incr-audio</object-name>
186         <action>
187             <button>0</button>
188             <binding>
189                   <command>property-adjust</command>
190                         <property>instrumentation/ilec-sc7/audio</property>
191                         <step>1</step>
192                         <min>0</min>
193                         <max>2</max>
194                         <wrap>false</wrap>
195             </binding>
196         </action>
197     </animation>
198
199         <animation>
200         <type>pick</type>
201         <object-name>decr-audio</object-name>
202         <action>
203             <button>0</button>
204             <binding>
205                   <command>property-adjust</command>
206                         <property>instrumentation/ilec-sc7/audio</property>
207                         <step>-1</step>
208                         <min>0</min>
209                         <max>2</max>
210                         <wrap>false</wrap>
211             </binding>
212         </action>
213     </animation>
214
215     <!-- mode switch -->
216
217         <animation>
218                 <type>rotate</type>
219                 <object-name>mode-switch</object-name>
220                 <property>instrumentation/ilec-sc7/mode</property>
221                 <interpolation>
222                         <entry><ind>0</ind><dep>-30</dep></entry>
223                         <entry><ind>1.0</ind><dep>0</dep></entry>
224                         <entry><ind>2.0</ind><dep>30</dep></entry>
225                 </interpolation>
226                 <center>
227                         <x-m>0.001</x-m>
228                         <y-m>0.025</y-m>
229                         <z-m>-0.013</z-m>
230                 </center>
231                 <axis>
232                         <x>0</x>
233                         <y>-1</y>
234                         <z>0</z>
235                 </axis>
236         </animation>
237
238         <animation>
239                 <type>pick</type>
240                 <object-name>incr-mode</object-name>
241                 <action>
242                 <button>0</button>
243                 <binding>
244                         <command>property-adjust</command>
245                         <property>instrumentation/ilec-sc7/mode</property>
246                         <step>1</step>
247                         <min>0</min>
248                         <max>2</max>
249                         <wrap>false</wrap>
250                         </binding>
251                 </action>
252         </animation>
253
254         <animation>
255                 <type>pick</type>
256                 <object-name>decr-mode</object-name>
257                 <action>
258                         <button>0</button>
259                         <binding>
260                                 <command>property-adjust</command>
261                                 <property>instrumentation/ilec-sc7/mode</property>
262                                 <step>-1</step>
263                                 <min>0</min>
264                                 <max>2</max>
265                                 <wrap>false</wrap>
266                         </binding>
267                 </action>
268         </animation>
269
270      <!-- sensitivity switch -->
271
272         <animation>
273                 <type>rotate</type>
274                 <object-name>sens-switch</object-name>
275                 <property>instrumentation/ilec-sc7/sensitivity</property>
276                 <interpolation>
277                         <entry><ind>1</ind><dep>30</dep></entry>
278                         <entry><ind>3</ind><dep>-30</dep></entry>
279                 </interpolation>
280                 <center>
281                         <x-m>0.001</x-m>
282                         <y-m>0.003</y-m>
283                         <z-m>-0.031</z-m>
284                 </center>
285                 <axis>
286                         <x>0</x>
287                         <y>-1</y>
288                         <z>0</z>
289                 </axis>
290         </animation>
291
292         <animation>
293                 <type>pick</type>
294                 <object-name>decr-sens</object-name>
295                 <action>
296                         <button>0</button>
297                         <binding>
298                                 <command>property-adjust</command>
299                                 <property>instrumentation/ilec-sc7/sensitivity</property>
300                                 <step>3</step>
301                                 <min>1</min>
302                                 <max>3</max>
303                                 <wrap>false</wrap>
304                         </binding>
305                 </action>
306         </animation>
307
308         <animation>
309                 <type>pick</type>
310                 <object-name>incr-sens</object-name>
311                 <action>
312                         <button>0</button>
313                         <binding>
314                                 <command>property-adjust</command>
315                                 <property>instrumentation/ilec-sc7/sensitivity</property>
316                                 <step>-3</step>
317                                 <min>1</min>
318                                 <max>3</max>
319                                 <wrap>false</wrap>
320                         </binding>
321                 </action>
322         </animation>
323
324     <!-- digits -->
325
326         <animation>
327                 <type>textranslate</type>
328                 <object-name>decimals-digit</object-name>
329                 <property>instrumentation/ilec-sc7/lcd-digits-abs</property>
330                 <factor>1</factor>
331                 <step>0.1</step>
332                 <bias>0.005</bias>
333                 <axis>
334                         <x>1</x>
335                         <y>0</y>
336                         <z>0</z>
337                 </axis>
338         </animation>
339
340         <animation>
341                 <type>textranslate</type>
342                 <object-name>units-digit</object-name>
343                 <property>instrumentation/ilec-sc7/lcd-digits-abs</property>
344                 <factor>0.1</factor>
345                 <step>1</step>
346                 <bias>0.005</bias>
347                 <axis>
348                         <x>1</x>
349                         <y>0</y>
350                         <z>0</z>
351                 </axis>
352         </animation>
353
354         <animation>
355                 <type>textranslate</type>
356                 <object-name>sign-digit</object-name>
357                 <property>instrumentation/ilec-sc7/lcd-digits-sgn</property>
358                 <factor>0.1</factor>
359                 <step>1</step>
360                 <bias>0.005</bias>
361                 <axis>
362                         <x>1</x>
363                         <y>0</y>
364                         <z>0</z>
365                 </axis>
366         </animation>
367
368 </PropertyList>
369
370