Use multiple game pad keys to exit emulator

Welcome Page Forums RetroPie Project Everything else related to the RetroPie Project Use multiple game pad keys to exit emulator

This topic contains 2 replies, has 3 voices, and was last updated by Profile photo of Floob Floob 2 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1419
    Profile photo of donkahones
    donkahones
    Participant

    in my searches for fixing my previous issue I came across this:

    http://forum.themaister.net/viewtopic.php?id=201

    Which means….

    if you add( for my SNES controllers button6 is select and button 7 is start):
     input_enable_hotkey_btn = 6
    input_exit_emulator_btn = 7
    To your retroarch.cfg you csn now exit the emulator by holding select then pressing start.

    Just though I’d share 🙂

    #1434
    Profile photo of petrockblog
    petrockblog
    Keymaster

    Thanks!

    For the sake of completeness, that article is also referenced from the according article in the wiki.

    #72072
    Profile photo of Floob
    Floob
    Member

    Thats a great tip. Thanks.
    The post referenced is now at:
    http://www.libretro.com/forums/viewtopic.php?f=2&t=201

    For reference the file I needed to edit to do this was:
    /opt/retropie/emulators/RetroArch/configs/USBGamepad.cfg

    As explained above, your start and select codes may be different, but this is shown by the keys you have already mapped. Here is my file

    input_device = "USB Gamepad "
    input_driver = "udev"
    input_b_btn = "2"
    input_y_btn = "3"
    input_select_btn = "8"
    input_start_btn = "9"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_a_btn = "1"
    input_x_btn = "0"
    input_l_btn = "4"
    input_r_btn = "5"
    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"

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

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

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

Skip to toolbar