Just a heads up, I brought my pi into the office to play with and had connected a Microsoft Digital Media Keyboard 1.0A (KC-0504) Part Number X800152-100 to my pi,
and it creates a /dev/input/js0. This phantom joystick has 72 buttons and a bunch of axis.
Other keyboards here are fine. So if you have a phantom joystick appearing, try a different keyboard.