I have a custom mice.xml file that seems to have worked quite nicely up until a
few days ago. That's when I first noticed that in my view mode I can set
/control/flight/rudder by holding down LMB and moving the mouse right and left.
Aileron and elevator are unaffected. I can't figure this out since nowhere in
my mice.xml file does /control/flight/rudder appear. Anyone know where this
behavior is coming from so I can kill it? Here's the mice.xml file:
<?xml version="1.0"?>
<PropertyList>
<mouse n="0">
<mode-count type="int">2</mode-count>
<mode archive="y" type="int">0</mode>
<mode n="0">
<cursor>inherit</cursor>
<constrained type="bool">false</constrained>
<pass-through type="bool">true</pass-through>
<button n="2">
<binding>
<command>property-assign</command>
<property>/devices/status/mice/mouse[0]/mode</property>
<value type="int">1</value>
</binding>
</button>
</mode>
<!-- Mode 1: view mode -->
<mode n="1">
<cursor>left-right</cursor>
<constrained type="bool">true</constrained>
<pass-through type="bool">false</pass-through>
<!-- left button centres the offsets -->
<button n="0">
<binding>
<command>property-assign</command>
<property>/sim/current-view/heading-offset-deg</property>
<value alias="/sim/view/config/front-direction-deg"/>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/current-view/goal-pitch-offset-deg</property>
<property>/sim/current-view/config/pitch-offset-deg</property>
</binding>
</button>
<button n="1">
<binding>
<command>property-assign</command>
<property>/sim/current-view/field-of-view</property>
<value alias="/sim/view/config/default-field-of-view-deg"/>
</binding>
</button>
<!-- right button switches modes -->
<button n="2">
<binding>
<command>property-assign</command>
<property>/devices/status/mice/mouse[0]/mode</property>
<value type="int">0</value>
</binding>
</button>
<button n="3">
<binding>
<command>property-multiply</command>
<property>/sim/current-view/field-of-view</property>
<factor type="double">0.952380952380</factor>
<min type="double">5.0</min>
</binding>
</button>
<button n="4">
<binding>
<command>property-multiply</command>
<property>/sim/current-view/field-of-view</property>
<factor type="double">1.05</factor>
<max type="double">120.0</max>
</binding>
</button>
<!-- Mouse left/right motion -->
<x-axis>
<!-- No buttons pressed: move the view position left or right -->
<binding>
<condition>
<and>
<not>
<property>/devices/status/mice/mouse[0]/button[0]</property>
</not>
<not>
<property>/devices/status/mice/mouse[0]/button[1]</property>
</not>
</and>
</condition>
<command>property-adjust</command>
<property>/sim/current-view/heading-offset-deg</property>
<factor type="double">-380</factor>
<min type="double">0</min>
<max type="double">360</max>
<wrap type="bool">true</wrap>
</binding>
</x-axis>
<!-- Mouse up/down motion -->
<y-axis>
<!-- No buttons pressed: tilt the view up and down -->
<binding>
<condition>
<and>
<not>
<property>/devices/status/mice/mouse[0]/button[0]</property>
</not>
<not>
<property>/devices/status/mice/mouse[0]/button[1]</property>
</not>
</and>
</condition>
<command>property-adjust</command>
<property>/sim/current-view/pitch-offset-deg</property>
<factor type="double">-180</factor>
<min type="double">-90</min>
<max type="double">90</max>
<wrap type="bool">false</wrap>
</binding>
</y-axis>
</mode>
</mouse>
</PropertyList>
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel