On Saturday 22 September 2007 21:25:47 Hal V. Engel wrote:
> These are a new item from Saitek and these have been available now for a
> few weeks.  I just ordered one directly from Saitek's Yahoo store for US
> $49.95 plus shipping and tax.  It arrived two days after I ordered the
> unit.  So the service was very good.  I have had it for two days and I
> thought that perhaps other FlightGear users would be interested in what I
> have learned.

Thanks for the review - I found it interesting and useful.  One comment 
regarding the joystick configuration file; could people please take care to 
use the functions in controls.nas wherever they exist?

For example, instead of hard coding the flaps settings by writing directly to 
the property tree, you should just call controls.flapsDown with the relevant 
argument.  The reason for this is that hard-coded steps are only ever going 
to be right for a few aircraft, while controls.flapsDown should always get 
you realistic behaviour for each aircraft (assuming the author has been 
diligent enough to model the flaps settings correctly).

This goes for every type of control - setting the properties directly is 
discouraged, the functions in controls.nas are the way forwards!  There are 
plenty of examples in existing joystick configuration files to copy.

Cheers,

AJ

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to