libjoy is a fully documented development library
to access joysticks under Linux that features an
easy interface. It also contains a very powerful
console tool for scripting. You can access
joysticks with 5 tiny lines of code.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.