On Tuesday 21 June 2005 14:26, Melchior FRANZ wrote: > * Laurie Bradshaw -- Monday 20 June 2005 15:37: > > Just out of curiosity, what is fgjs for? I can't work out what to do with > > the output.. old method of doing things? > > You can use the output on the command line, or better: in a ~/.fgfsrc file, > line by line. Should be explained in $FG_ROOT/Docs/README.joystick.html
Yep, I do usually rtfm first :) > The XML method is preferred for joysticks nowadays. The --prop:/ command > is still very useful for other settings. > > > Could I modify it to produce xml output instead? > > Who could stop you? ;-) Yes, that's probably a good idea, maybe have both > ways and a switch to select (--xml or --prop or something). > OK, I have an fgjs.cxx producing working --xml & --prop outputs (and the obligatory --help). I also added a --deadband <float> option, as simply breathing on my joystick seems to count as moving an axis without it, also confirmation for each control that it was the control you wished to move/press, on the basis that starting over is more annoying that pressing 'y' 16 times. I tweaked the available controls a bit too (mainly added some). Any preferences for submission? -- Laurie Bradshaw _______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
