On Fri, 2008-04-11 at 21:50 -0400, Jim Haynie wrote:
> I just received my new Thrustmaster TopGun Afterburner II.  I installed
> the joystick on the windows PC and it recognized it.  The calibration and
> controls seem great.  I change my joysticks.xml file to point to the
> top_gun_afterburner.xml file.  I startup flightgear and I hear "bang" I
> change my view and the aircraft is buried into the ground.  I check under
> help and the controls looks great for the joystick.  So I start it in the
> air at 10,000 feet and I can't pull up the nose of the craft.  Straight
> down it goes.  
> 
> I looked at fgjs, but it doesn't produce anything other than a header for
> Microsoft PC-Joystick driver.  The FGJS utility also gives a failed to
> open file /Flightgear/input/joysticks/template.xml
> 
> I am kind of new at this and wondering what could wrong.  I am sure I
> missed something.
> 
> Any ideas?
> 
> Thanks,
> Jim
> 

Hi Jim,

I'm not an expert on the flightgear input subsystem, but I'll ask a few
questions to get the discussion going...

You're using a Microsoft Windows PC running?  XP?  Vista?  2000? or a
linux machine? Debian? Ubuntu? Fedora? Mac?

You're running flightgear 0.9.10? 1.0.0? CVS-OSG?

There is a utility that should be included with flightgear called
js_demo.  Run it from a command prompt and see what it says.  It looks
something like this:

$ js_demo 
Joystick test program.
~~~~~~~~~~~~~~~~~~~~~~
Joystick 0: "Ciponic Technology Mad Catz Panther DX "
Joystick 1 not detected
Joystick 2 not detected
Joystick 3 not detected
Joystick 4 not detected
Joystick 5 not detected
Joystick 6 not detected
Joystick 7 not detected
+--------------------JS.0----------------------+
| Btns Ax:0 Ax:1 Ax:2 Ax:3 Ax:4 Ax:5           |
+----------------------------------------------+
| 0000 -0.0 +0.0 +0.0 +1.0 +0.0 +0.0   .    .  |


The Ax: numbers should change as you move the Joy stick axises around, 
and should vary from +1.0 to -1.0

Also of interest is the exact ID string reported by js_demo, i.e.
Joystick 0: "Ciponic Technology Mad Catz Panther DX "

That is what flightgear uses to choose a joystick driver.

V/r
Ron



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to