Exit RetroArch games with Keyboard? (FLIRC)

Home Forums RetroPie Project Controller Configuration in RetroPie Exit RetroArch games with Keyboard? (FLIRC)

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 4 replies, has 2 voices, and was last updated by Profile photo of pomme pomme 1 year, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #108392
    Profile photo of pomme
    pomme
    Participant

    Hello. I’m running RetroPie 3.0, XBOX 360 Controller. I also have a wireless keyboard nearby I use when needed.

    I plugged set up a FLIRC IR receiver and am using an old TV remote to browse Kody, which I have installed in Ports. The remote also works in EmulationStation and I am able to navigate the menu, start games, enter the context menu and so on. One thing I can’t figure out is how to exit a game with a keyboard key, or combo.

    I know people usually ask the opposite question. Right now I am currently exiting all emulators with the input_enable_hotkey_btn + input_exit_emulator_btn for start+select on my XBOX 360 Controller and that works fine.

    In retroarch.cfg there is a line
    input_exit_emulator = space

    so I mapped a button on my FLIRC remote to space, but it doesn’t exit the game. It also doesn’t exit the game if I’m using my actual keyboard. Am I missing something? Is there a way to exit a retroarch game using a remote emulating keystrokes?

    It’s may sound silly, but I’d like to be able to use the remote to browse the game menu, start a game, then exit a game. My current build has thousands of games and sometimes I’m just not sure what I want to play. The 360 controller goes to sleep after some time and the remote would be a cool way to show off the setup to friends.

    Thanks for reading.

    #108470
    Profile photo of Floob
    Floob
    Moderator

    What happens if you hold select, and press space?

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    #108491
    Profile photo of pomme
    pomme
    Participant

    Ah, excellent question, Floob.

    I just tested and the game does exit when I hold select and hit SPACE on the keyboard, or the button I have mapped to SPACE on the remote. Which begs the question, is there a way to set up an additional hotkey button on the keyboard so I don’t have to use the select key? I would still, of course like to continue to use the hotkey on the 360 controller.

    #108498
    Profile photo of Floob
    Floob
    Moderator

    In your
    /opt/retropie/configs/all/retroarch.cfg

    Can you set a key value for this?
    input_enable_hotkey =

    eg
    input_enable_hotkey = alt

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    #108500
    Profile photo of pomme
    pomme
    Participant

    Ahh! Freakin’ sweet. That did the trick. Just a syntax issue that was beyond me. Didn’t know the “input_enable_hotkey” as opposed to the “input_enable_hotkey_btn”.

    Thanks for your help.

Viewing 5 posts - 1 through 5 (of 5 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar