Hi, Flightgear has a file called joysticks.xml that references the individual jsX.xml files that should be read and processed. I tend to hand-edit these, but that requires some googling and/or experience.
Many joysticks have pre-defined xml files bundled with FG at Input/Joystick/<manufacturer>/<product>.xml. If your stick is one of those, then the easiest option by far would be to change joysticks.xml to contain something like this: <?xml version="1.0"?> <PropertyList> <js-named include="Input/Joysticks/Saitek/Aviator.xml"/> </PropertyList> (Replace the path with the one appropriate for your joystick) If this does not work for you because your stick is not listed, then you can also look at joysticks.xml to see where js[0].xml would be located, and then edit that. Inside you should find all of your axes and buttons listed, with appropriate mappings. If you send over this file, I can take a look at it to see if I can spot any obvious problems. What stick have you got? Cheers, Vik On 08/02/2011 10:19 AM, Jack Moore wrote: > Greetings all, > > I'm a newbie running FG on MacOS X Snow Leopard. When the joystick is > connected, the axes do not respond, but all ten buttons appear to work fine > in FG. The joystick is being recognized in FG. If I go under Help->Joystick > It shows ti correct model, the correct number of buttons, and the correct > number of axes. The button and axis assignments appear to be assigned as I > would expect. If I run js_demo, the joystick is recognized, the buttons work > as expected, and each of the axes goes through its corresponding values. If > I run fgjs, again, everything appears to be recognized, except the cooley hat > axes. When I exit I get a bus error. The js[0].xml file looks OK though. > But I do not know where to put the js[0].xml file. > > Any suggestions? > > BTW flying with the keyboard is the pits. > > Jack > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Flightgear-users mailing list > Flightgear-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-users > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users