|
From: Ron H. <gs6...@gm...> - 2018-12-16 16:17:08
|
Thanks Dany, Pointed me in the right direction. I had to both set the factor to inverted via the dialog and manually set the offset to -1. Kept defaulting to +1. Now the toe brakes work properly. Had dive into the fgcommand code to understand what was happening. All is well now. And I learned a bit more. :) On Sun, 16 Dec 2018 at 06:22, Dany <da...@nu...> wrote: > On 16/12/2018 à 03:52, Ron Haertel wrote : > > > > here is the xml for the pedals. How and where are the factor and > > offset calculations done? why .05 or -.05. I try to overwrite these > > values but always is overwritten by FG. > > > > Hi Ron, > > Do you mean 0.05 or 0.5? I understand 0.5. > > In FG, the brakes expect 0 to +1. > > Your rudder pedals sends -1 to +1 for the brakes (js_demo). > hence, you need an offset = +1 to start from 0. > But it gives total amplitude = 2 (0 to 2). Hence the 0.5 factor to go > from 0 to 1. > > See FG Wiki Bindings property-scale > http://wiki.flightgear.org/Bindings#property-scale. > > Mind the ordering: I always see offset before factor. I don't know if > that's important. > > See the Saitek xml file in > fgdata/Input/Joysticks/Saitek/Pro-Flight-Rudder-Pedals.xml. > > Your customized or personal joystick xml files should preferably be put > and saved in (for Ubuntu) .fgfs/Input/Joysticks. Here, they will not be > deleted by FG updatings. > > Dany > > > > > > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > -- Ron Windows 10, VS2015, VS2017 Ubuntu 18.04 |