Remember Me
Glad you’re getting somewhere :-)
You can use jtest to determine buttons, run:
sudo apt-get install joystick
then
jstest /dev/input/js0