retroarch-snap icon indicating copy to clipboard operation
retroarch-snap copied to clipboard

Controller Issues in 18.04

Open oaguy1 opened this issue 7 years ago • 9 comments

Hello! I have had trouble using a controller with my snap of retroarch. I am using a wired Xbox 360 controller and the udev input driver. lsusb shows that the device is present and the controller lights up and has the led for player one lit. No matter what I do, input 1 seems to always have a null input device index.

I have run the two snap commands (listed below for completeness) to add usb support and have also run snap refresh to make sure nothing needed up updating.

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

Can you please help me see if I am missing something? TIA!

oaguy1 avatar May 07 '18 19:05 oaguy1

I can verify this. Also, both the version from the repo and the Flatpak from Flathub detect the controller.

Mister-Dolus avatar Jun 02 '18 12:06 Mister-Dolus

In my experience, autoconfig wouldn't work. I had to use the regular mapping in settings > input > p1 input binds, but after that I was able to play.

hizzlekizzle avatar Jun 02 '18 14:06 hizzlekizzle

For you now we will need to update the core to edge branch. Can you try

sudo snap refresh —edge core

gouchi avatar Jun 12 '18 20:06 gouchi

This seems to be a permissions issue, in the ubuntu software gnome-software package, if you installed retroarch via that, go and modify the permissions next to the "remove" button.

mitchellurgero avatar Jun 16 '18 20:06 mitchellurgero

Hi! We spoke to the Snap Security Team. It's perfectly reasonable for a game (or emulator) to have the joystick interface auto-connected on install. Requests for auto-connected interfaces are done in the open, on the snapcraft forum.

Please could someone from the upstream project make a request on the forum and it will get reviewed / approved / actioned in the store, so future installs and updates will not have to manually connect the joystick interface. Thanks!

popey avatar Jan 17 '19 13:01 popey

We have been granted automatic joystick connection right so it should work now.

gouchi avatar Jan 23 '19 18:01 gouchi

@oaguy1 @Mister-Dolus Using latest snap, can you use your controller ?

gouchi avatar Feb 08 '19 09:02 gouchi

Faced similar issue. just turned out that I had to do this. go to the settings tab hit drivers and change the input and joy pad driver to sdl2 now just configure the controller Now it works flawlessly. I was using redgear pro controller and it has fixed this.

githubashutoshsoni avatar Jul 17 '22 11:07 githubashutoshsoni

@oaguy1 Is this still an issue otherwise please close this issue.

gouchi avatar Sep 29 '22 14:09 gouchi