2009-08-11 15:57:32 +00:00
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<name>3Dconnexion SpaceNavigator</name>
|
2009-08-12 06:09:13 +00:00
|
|
|
<debug-events type="bool">false</debug-events>
|
2009-08-11 15:57:32 +00:00
|
|
|
|
|
|
|
<!--
|
|
|
|
<event>
|
|
|
|
<desc>X-Axis</desc>
|
|
|
|
<name>rel-x-translate</name>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/some/property</property>
|
|
|
|
<factor type="double">1.0</factor>
|
|
|
|
<wrap type="bool">false</wrap>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
-->
|
|
|
|
<event>
|
|
|
|
<name>rel-y-translate</name>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>sim/current-view/field-of-view</property>
|
|
|
|
<factor type="double">0.01</factor>
|
|
|
|
<min type="double">10.0</min>
|
|
|
|
<max type="double">80.0</max>
|
|
|
|
<wrap type="bool">false</wrap>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<event>
|
|
|
|
<name>rel-z-translate</name>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/some/property</property>
|
|
|
|
<factor type="double">1.0</factor>
|
|
|
|
<min type="double">-10000</min>
|
|
|
|
<max type="double">10000</max>
|
|
|
|
<wrap type="bool">false</wrap>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<event>
|
|
|
|
<name>rel-x-rotate</name>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>sim/current-view/pitch-offset-deg</property>
|
|
|
|
<factor type="double">0.01</factor>
|
|
|
|
<min type="double">-90.0</min>
|
|
|
|
<max type="double">90.0</max>
|
|
|
|
<wrap type="bool">false</wrap>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
|
|
|
|
<event>
|
|
|
|
<name>rel-y-rotate</name>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>sim/current-view/roll-offset-deg</property>
|
|
|
|
<factor type="double">-0.01</factor>
|
|
|
|
<min type="double">-60.0</min>
|
|
|
|
<max type="double">60.0</max>
|
|
|
|
<wrap type="bool">false</wrap>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
|
|
|
|
<event>
|
|
|
|
<name>rel-z-rotate</name>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>sim/current-view/heading-offset-deg</property>
|
|
|
|
<factor type="double">-0.01</factor>
|
|
|
|
<min type="double">0.0</min>
|
|
|
|
<max type="double">360.0</max>
|
|
|
|
<wrap type="bool">true</wrap>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
|
|
|
|
<!-- set LED from nose gear indicator -->
|
|
|
|
<event>
|
|
|
|
<name>led-misc</name>
|
|
|
|
<setting>
|
|
|
|
<value>1</value>
|
|
|
|
<condition>
|
|
|
|
<property>/gear/gear[0]/indicator-servicable</property>
|
|
|
|
<greater-than>
|
|
|
|
<property>/gear/gear[0]/position-norm</property>
|
|
|
|
<value>0.9</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
</setting>
|
|
|
|
<setting>
|
|
|
|
<value>0</value>
|
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<and>
|
|
|
|
<property>/gear/gear[0]/indicator-servicable</property>
|
|
|
|
<greater-than>
|
|
|
|
<property>/gear/gear[0]/position-norm</property>
|
|
|
|
<value>0.9</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</not>
|
|
|
|
</condition>
|
|
|
|
</setting>
|
|
|
|
</event>
|
|
|
|
|
|
|
|
<event>
|
|
|
|
<desc>Left Button</desc>
|
|
|
|
<name>button-0</name>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.stepView(1)</script>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
|
|
|
|
<event>
|
|
|
|
<desc>Right Button</desc>
|
|
|
|
<name>button-1</name>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.stepView(-1)</script>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
|
|
|
|
</PropertyList>
|