Hi Francesco, Can you try testing the attached patch? It was forwarded to the upstream's bug report tracker (from a quick look, it seems reasonable, but I don't know if it actually solves the issue, and again I don't have a joystick to test with).
Cheers, Vincent
issue-959-joystick-conf.patch
Description: Binary data