Retroarch wont see logitech f310 controller - using xinput ubuntu

Controller does not register when i use retroarch, please help me

Can you try switching it to dinput mode (I can’t remember if that pad supports such a thing or not)?

When you start up, does it say “logitech blah blah configured”? Also, how did you install RetroArch? If you’re using the snap package from the Ubuntu Software Center, you’ll need to hook up some plugs to get it working:

sudo snap connect retroarch:raw-usb
sudo snap connect retroarch:joystick
sudo snap connect retroarch:removable-media