Melchior FRANZ wrote: >I also removed the "userarchive" flags on the hobbs and yoke properties, >and let those properties be written to the c150's own aircraft config >instead. I decided to not wait for your reply, as the "userarchive" >settings polluted the systems's autosave.xml file, which would have to >be cleaned manually by every single user. > > Thanks for the changes,
>There's a bug with the mixture: you redefine controls.mixtureAxis() to >write to /controls/engines/engine/mixture-lever instead of to >/controls/engines/engine/mixture, but you didn't also change >controls.adjMixture(). This breaks the mixture handling for all people >who have assigned adjMixture() on their joysticks. If the renaming >is really necessary, then better let both controls definitions as they >are, and just put that into the c150.main_loop(): > > setprop("/controls/engines/engine/mixture-lever", > getprop("/controls/engines/engine/mixture")); > >Just using the standardized property names is preferable, of course. > >m. > > Ok I did not see the other function. I am using the mixture to alter the engine rpm (low g, engine start in cold weather, perhaps magneto check) and this is the only property that is used by the fdm that can make the wanted effect (or perhaps the throttle but we have the same problem). That's why I can set the fdm mixture independantly of the mixture lever position and that's why the handler must set the mixtur-lever property and not the mixture directly. I'll make the change to overide the other function too. HJ. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel