Stuck at "Hold a Button on Your Device" screen
-
I'm trying to set up EmulationStation on a new system. When I start it up for the first time, it gives me the "Welcome" screen and it says it's detected my gamepad; however, the buttons never register no matter how long I hold them down. I'm certain the gamepad works, as "jstest" detects every button and direction fine.
This is a Raspberry Pi 3 B+, running Arch Linux ARM 64-bit. I've tried EmulationStation 2.7.1 and the latest git version, same issue. I'm using the Canakit 2.5A power supply. The controller is a Logitech Gamepad F310 (I've tried it with the switch on the back set to both "X" and "D"). Running ES in debug mode, it sees and identifies the gamepad correctly. I've tried plugging it to each of the four slots. I've tried other gamepads as well, same issue. Nothing relevant shows up in the system journal.
So I'm kinda stumped here. I've seen other people have had the same issue but I've not seen a solution anywhere. Please let me know if you have any thoughts
-
I should have mentioned that when I run Stella directly, it lets me use the joystick with no problems.
-
ES uses SDL to read the input devices - try https://github.com/Grumbel/sdl-jstest and see if you joystick is detected. That being said, most people run Raspbian with RetroPie on a Pi, your problems might come from the distro you're running and not from Emulationstation itself.
-
@mitu sdl2-jstest works fine with my joystick. Thanks for the tip.
I'm sure the issue has to do with the fact that I'm on a different distro, but it still seems like a problem with ES if my joystick works fine in every other app I test.
-
@chowbok What SDL version is your distro using ? RetroPie downloads and compiles a patched 2.0.8 version, as well as an updated
xpad
(Xbox) driver, but I guess you're not using RetroPie ? -
Just the standard 2.0.8 version. Do you know where the patches that RetroPie uses are? I could compile my own version if necessary.
-
The RetroPie SDL fork is at https://github.com/RetroPie/SDL-mirror, for the Raspberry PI it uses the
rpi-3
branch. In your case I'd try first an updatedxpad
driver and making sure the device is in Xinput mode. Thexpad
driver used by RetroPie is at github.com/paroj/xpad.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.