1
0
Fork 0
fgdata/Input/Event/3dconnexion/SpaceNavigator.xml

129 lines
3.1 KiB
XML
Raw Normal View History

<PropertyList>
<name>3Dconnexion SpaceNavigator</name>
2010-05-23 09:03:05 +00:00
<name>3Dconnexion SpaceNavigator for Notebooks</name>
2009-08-12 06:09:13 +00:00
<debug-events type="bool">false</debug-events>
<!--
<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>