You can setup an “exit emulator” button combination that will bring you back to the emulator/game selection screen. When you do this, it will dump the ROM and keep any save files that you have. There are other ways this can be accomplished; we will go over those later.
So at the bottom of the retroarch.cfg, enter these two lines
input_enable_hotkey_btn = "X"
input_exit_emulator_btn = "Y"
Replace X with one of the numbers that corresponds to a button on your controller, and replace Y with a different number. In my setup, I wanted it to exit the emulator by pressing Select + Start. So I replaced X with the number corresponding to my select button (I think it was 8), and I replaced Y with the number corresponding to my start button (I think it was 9)
Once you have made all the changes you need, press ctrl+s to save the configuration file. You can now close the configuration file. Back at the desktop, click on the LXDE Start menu, and select “logout”. It will prompt you again, so click “logout”.
Back at the terminal.
sudo shutdown -h now
Once the Pi is done shutting down, unplug your mouse, keyboard and power supply. With the Pi powered off, plug in your two USB controllers. Plug the power supply back into the Pi.
You should now be ready to rock some oldschool emulation with 2 controllers plugged into your Pi, and no mouse or keyboard necessary. Your system will boot into EmulationStation. Use the P1 controller to select and play a game, and P2 will act as P2 in the games (usually… Some ROMs seem to have difficulties).
Marcadores