On Monday 20 June 2005 13:29, Melchior FRANZ wrote: > * Laurie Bradshaw -- Monday 20 June 2005 13:59: > > Once you've worked out how the os you're using sees your joystick (name, > > button & axis numbers), you can simply copy an existing joystick xml, > > open it in a text editor, change the <name></name> tag to match your > > joystick, and configure the buttons and axis as required (copy and paste > > from existing files, change the button/axis numbers to suit). > > Exactly, whereby the name can be obtained by running "js_demo(.exe)".
Just out of curiosity, what is fgjs for? I can't work out what to do with the output.. old method of doing things? Could I modify it to produce xml output instead? > > Once you're happy with it, > > make sure to add a <js-named > > include="Input/Joysticks/CH/name_of_your.xml"/> to joysticks.xml in the > > flightgear root. > > ... this isn't necessary/possible in the upcoming v0.9.9 (or cvs/head). > Here saving the file somewhere in $FG_ROOT/Input/Joysticks/ is enough for > fgfs to pick it up. Consider to submit configs for which we don't have > a driver yet. Cool, took me about 10 mins to work out I needed to edit joysticks.xml first time.. much easier that way :) -- Laurie Bradshaw _______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
