Logitech Gamepad F310 for linux
(yeah I know it's hardware do you mind? i'll pull if if it's not ok)
make sure the switch on the back is set to x
install the xboxdrv package from the repositories.
In windows the pad works correctly out of the box. In linux the L2 and R2 triggers act like axis events (gas and break peddles)..NOT buttons. (NOT good for any emulator needing these buttons...unless you are playing a racing game.
)
To make them work as buttons envoke the trigger-as-button command
at the terminal type
xboxdrv --trigger-as-button command
then press enter
Now the pad should act correctly now!