166
edits
No edit summary |
|||
Line 31: | Line 31: | ||
<type>knob</type> | <type>knob</type> | ||
<object-name>ALT-SEL</object-name> | <object-name>ALT-SEL</object-name> | ||
<value>0.0</value> | <value>0.0</value> <!-- or property as usual for rotate animation --> | ||
<center> | <center> | ||
<x-m>0.0</x-m><y-m>0.027</y-m><z-m>0.0238</z-m> | <x-m>0.0</x-m><y-m>0.027</y-m><z-m>0.0238</z-m> | ||
Line 86: | Line 86: | ||
</action> | </action> | ||
<shift-action> | |||
<binding> | <binding> | ||
<command>property-adjust</command> | <command>property-adjust</command> | ||
Line 94: | Line 94: | ||
</shift-action> | </shift-action> | ||
</animation> | |||
</PropertyList> | |||
</syntaxhighlight> | |||
Spring-loaded position: | |||
<syntaxhighlight lang="xml"> | |||
<?xml version="1.0" encoding="utf8"?> | |||
<PropertyList> | |||
<animation> | |||
<type>knob</type> | |||
<object-name>APU-Start</object-name> | |||
<property>/controls/apu/rotary-start</property> | |||
<!-- center, axis, factor, ... --> | |||
<!-- Normal action, positions 0, 1 and 2 --> | |||
<action> | |||
<binding> | |||
<command>property-adjust</command> | |||
<property>/controls/apu/rotary-start</property> | |||
<min>0</min> | |||
<max>2</max> | |||
</binding> | |||
</action> | |||
<!-- Release action, limit to 0 and 1. 2 is spring loaded starter position --> | |||
<release> | |||
<binding> | |||
<command>property-adjust</command> | |||
<property>/controls/apu/rotary-start</property> | |||
<step>0</step> | |||
<min>0</min> | |||
<max>1</max> | |||
</binding> | |||
</release> | |||
</animation> | </animation> | ||
</PropertyList> | </PropertyList> | ||
</syntaxhighlight> | </syntaxhighlight> |
edits