В сообщении от 20 Апрель 2007 16:38 Tim Moore написал(a):
> Would it be possible to use controls.adjPropeller instead of
> an2.propeller_pitch_control? Then you wouldn't need a custom joystick
> xml file because controls.adjPropeller is already mapped in the existing
> joystick files.

Please, no.
controls.adjPropeller will change value 
of /controls/engines/engine/propeller-pitch, but it property has controlled 
by automatic pitch subsystem (see prop_handler() from an2.nas). 

If you want disable automatic propeller pitch, you may comment first call of 
prop_handler() in an2.nas. When, you may use default propeller pitch handler.

But real an-2 has pitch automatic... IMHO, setting of couple command in user 
config is not a big deal...


-- 
Wbr, Yurik

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to