Thanks to the great support on this forum I have been able to get all my favourite emulators and the logitec f310 to work! Many yhanks for that.
Last thing I wish to setup mouse support on my controller for scummvm.
I read that xboxdrv has the option to switch between gamepad configuration and mouse comfiguration. I tried implementing the command --next-config --mouse in rc.local, but dont know how to do this correct.
The best option would be that on starting scummvm xboxdrv switch to mouse and on exit xboxdrv switch back to gamepad.