> Sound like a good idea . I don't get smooth results without some nasal > help , but its so much nicer to move the mouse in the direction you > want to push the lever rather than clicking 2 hotspots or two separate > mouse buttons for forward/back.Having this routine in the global nasal > should also save me from copying a duplicate routine(mess) from > aircraft to aircraft. > My attempts to set the accelerations to 0 failed , but in the process > , discovered that setting <interval-sec> to 0 caused FG to freeze . > Cheers The x/y-accel properties actually have the meaning "the mouse traveled for that many units since the property was set the last time". Using a listener instead of a time-based polling makes much more sense here. Every time the value of the movement changes, this change is applied to the named property using the property-adjust command. It all might end up with a single command action binding like
globals.mouseHandler.setYMotionHandler( "/some/property-to-adjust", 0.1 ); for the button-down event and globals.mouseHandler.setYMotionHandler(); for the button-up event. Torsten ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel