Troubleshooting
From 7d7 Project
[Linux] My Joystick, Gamepad, etc... does not work with sd7
Well, I figure out that it is correctly attached, and blah, blah.. well
The problem that you may have, is that you don't have permissions to read /dev/inputX
Please read HOWTO Setting Input Device Permissions

