jstest-gtk - A graphical joystick tester
A simple joystick tester based on Gtk+. It provides you with a list of attached joysticks, a way to display which buttons and axis are pressed, a way to remap axis and buttons and a way to calibrate your joystick.
Installs over time
Make sure to follow the setup guide before installing