As promised, a new version that jumps back only when the mid-button
is pressed on the left-click.
Index: ../data/mice.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/mice.xml,v
retrieving revision 1.17
diff -u -p -r1.17 mice.xml
--- ../data/mice.xml 28 Jan 2005 15:17:30 -0000 1.17
+++ ../data/mice.xml 13 Oct 2005 13:37:43 -0000
@@ -174,7 +174,31 @@ current mode for each mouse is held in t
<binding>
<command>property-assign</command>
<property>/sim/current-view/goal-pitch-offset-deg</property>
- <property>/sim/current-view/config/pitch-offset-deg</property>
+ <property>/sim/view/config/pitch-offset-deg</property>
+ </binding>
+ <binding>
+ <condition>
+ <property>/devices/status/mice/mouse[0]/button[1]</property>
+ </condition>
+ <command>property-assign</command>
+ <property>/sim/current-view/x-offset-m</property>
+ <property>/sim/view/config/x-offset-m</property>
+ </binding>
+ <binding>
+ <condition>
+ <property>/devices/status/mice/mouse[0]/button[1]</property>
+ </condition>
+ <command>property-assign</command>
+ <property>/sim/current-view/y-offset-m</property>
+ <property>/sim/view/config/y-offset-m</property>
+ </binding>
+ <binding>
+ <condition>
+ <property>/devices/status/mice/mouse[0]/button[1]</property>
+ </condition>
+ <command>property-assign</command>
+ <property>/sim/current-view/z-offset-m</property>
+ <property>/sim/view/config/z-offset-m</property>
</binding>
</button>
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d