How to use F310 central button to exit emulator ?
-
Just installed retropie 3.7 on a Pi 3 and a F310 conroller(logitech), all is working perfectly, except that I cannot exit a game without removing the power from the Pi. I tried a PS3 controller and I can exit by pressing the central button, but it's not working on the F310.
I watched countless video and tutorial that explain how to modify retroarch config to be able to exit using Select + Start but none work, and all are outdated. Then I saw a post on retroarch that they changed the code so that only a central button(xbox controller and PS3 controller) can now make the menu to exit appear and that Select + Start won't work anymore. Is that the reason?
And if it is, how can I make the F310 central button actually work? Right now it does nothing when pressed.
Thanks!
-
For any purpose in retroarch, all of your buttons are the same, so you could play games with some wacky setup if you felt like it. Retroarch wouldn't care. The middle button is no exception. If it is mapped to an in-game function, it will work in game. If it is mapped to a hotkey, it will work as a hotkey. It's all dependent on what you have set up in your
/opt/retropie/configs/all/retroarch-joypads/
CONTROLLERNAME.cfg file, and if you've made customizations to your retroarch configs.I have the F310, and I use the middle button as the enable hotkey button; although I could use it for anything if I wanted. It just has to be specified in your CONTROLLERNAME.cfg file. I also have L3 as exit.
You just need to set
input_enable_hotkey_btn
to the button value you get from runningjstest /dev/input/js0
(js1, js2, etc..) and pressing the middle button. For me, that's 8.This is my config file. This may not even work, if you've modified the controller portion of your retroarch files.
-
Thanks for the reply! I will try it over the weekend and report back.
-
Did you need to do anything special to get the F310 recognized by the RPi3? I'm also on 3.7, brand new install and on the first load, it doesn't recognize the device. Running lsusb also doesn't list it.
I tried using a powered USB hub and am also using the 2.5A power adapter.
-
Mine got recognized automatically by the default driver xpad(and xboxdrv), so I was just able to get it going using the emulationstation configure input option.
I'm not quite sure how you could get it working, easiest option I think is to make sure you've tried all possible ports so it's not a faulty port or something. Also, you could try it out on a pc to see if it's working or a faulty controller. I'm not sure this is the best advice, but it's probably something I'd check for myself if I had that problem.
As for the software and drivers, RetroPie should be fully equipped to handle most controllers plug and play, including the F310. So if you did anything really custom besides just flashing the stock image to sd card, it may be worth trying it out again with a stock install. I doubt this would be the reason, unless your install isn't recognizing any controllers at all.
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.