USB joystick

Matthew Gillen me at mattgillen.net
Sun Jan 14 15:16:03 EST 2007


James Kramer wrote:
> I have a usb game pad that appears to work well using jscalibrator however,
> I can not get it to work within games.  Jscalibrator works without
> modifications to Debian Sarge OS.  The game pad does not work in the game
> SearchAndRescue.  I could not get it to work with VisualBoyAdvanced however
> I notice that it is possible to assign hexadecimal numbers to joystick
> positions in the VisualBoyAdvanced config file.  Do I need to specify
> special InputDevice options in XF86Config or are there special config files
> that require modification.  Is there a program that determines the
> hexadecimal output from the game pad?  Thanks for the help.

You should be able to whip up a little SDL program that initializes a
joystick, and then prints out the codes whenever the joystick does
something.  I remember doing this many ( ~7 ) years ago... Hey, what do you
know, I found that old program.  And it even seems to still compile (I don't
have a joystick anymore, so I can't tell you if it still works or not).

You can grab it here:
http://gillens.us/software/joystick.tar.gz

Good luck.
Matt

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list