PureBasic - Joystick
PureBasic provides a full access to the joysticks which are connected to the computer. This library supports joysticks and complex gamepads with several pads, triggers and many buttons.
On Windows, this library uses the DirectX technology. On Linux it uses SDL.