I first used the RetroPie v2.3 image file and that button worked perfectly. 3 times to go back to ES and 5 to shutdown. The problem was when I installed Retropie v2.6 (on another SD card) and not doing anything different in terms of configuration compared to the previous install (2.3) I can’t get the button to send me back to ES. It quits with 5 presses, but nothing happens with 3.
I have SNESDev configured with button polling only and adapter v1 (tried v2 just in case and issue persists).
As I’m writing this I wonder if the new version of SNESDev changed the pin used for this (pin 11/GPIO17).
Edit: I checked the code (link)and confirmed pin 11 is still the correct one.
Thanks for your reply.
Haven’t had time to go back to the problem in the past week.
I’m not using a Pi2, so I don’t know if the update you mention should make any difference (on my Pi B).
I’ll try a fresh “installation” of the retropie image and only configure snesdev to see if it works fine. If it does, I’ll start configuring things one by one and checking if the button works each time. This in case somehow something I configured is what caused the issues with snesdev (seems unlikely, but I’ll try anyways).
I’ll keep you guys posted.
Ok. With a clean image installation it works fine.
I’ll still check if it keeps working after every different configuration I do in case the issue arises again.
I managed to work around this issue by writing a python script to send a sigterm to retroarch or mame on the button press. Retroarch exits cleanly and emulationstation restarts as if pressing esc, works fine and I can still use the hotkeys on the controller to do the same thing.