On Fri, 13 Nov 2009, David Harel wrote: > This code didn't work. I noticed you took it from aileron section so maybe it > doesn't match the throttle settings. Can you copy the throttle section for > me?
Most joysticks use the controls.throttleAxis() Nasal binding since it handles engine selections (shift + 1 to select engine zero etc). It does assume that the joystick is properly calibrated, though. If you use the property-scale command it ought to look like this (from Input/Joysticks/LewEngineering/RC-transmitter-hitecLaser4.xml): <binding> <command>property-scale</command> <property>/controls/engines/engine[0]/throttle</property> <offset type="double">1.0</offset> <factor type="double">0.6</factor> </binding> ... <binding> <command>property-scale</command> <property>/controls/engines/engine[N]/throttle</property> <offset type="double">1.0</offset> <factor type="double">0.6</factor> </binding> Cheers, Anders -- --------------------------------------------------------------------------- Anders Gidenstam WWW: http://www.gidenstam.org/FlightGear/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users