Over several month I built a tiny arcade machine which is based on a Raspberry Pi B.
Software is mame4all-pi.
To read the inputs (joystick, Buttons) I started with retrogame and the PI's pins.
Then I tried to built my own joystick-controller using an Arduino Leonardo (worked ok, but not perfect).
Then, about 4 weeks ago, I got myself a XIN MO Dual ArcadeUSB controller, to which I connected joystick and buttons.
Worked very well for three weeks, Joystick operation was more accurate, Pac-Man, DigDug, MrDo ... lots of high-scores ....
Two days ago the behavior of the joystick suddenly changed. If you shortly move it in one direction, it immediately gives not only one impulse, but several. In MAME's menue you hardly can go to the line that you want, because the cursor goes so fast up or down.
And some games are hardly playable any more.
Controller seems to be ok though; I tested it in a different Linux computer, mame worked fine.
Some days ago I did an apt-get upgrade on mi PI.
I suppose that this is, where the problem started.
Linux rasp3 3.18.5+ #744 PREEMPT Fri Jan 30 18:19:07 GMT 2015 armv6l GNU/Linux
And this is how the controller shows in dmesg:
5.505510] xinmo 0003:16C0:05E1.0003: input,hidraw2: USB HID v1.01 Joystick [Xin-Mo Xin-Mo Dual Arcade] on usb-bcm2708_usb-1.3.3/input0