RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Hotkey Problems

    Scheduled Pinned Locked Moved Help and Support
    hotkeys
    2 Posts 2 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bassman6805
      last edited by

      I recently built the super game pi by using the tutorial on the adafruit website.

      https://learn.adafruit.com/super-game-pi/overview

      Everythng seems to work fine except all of my hotkeys. The exit game buttons work but the save state and load state do not. I have tried looking at the config file but I think it treats the controller as keyboard instead of a joystick. Can someone help me find where and what to change for the hotkeys using a keyboard? Most of the tutorials I find are for older versions of retropie and it seems the new one is quite a bit different.

      B 1 Reply Last reply Reply Quote 0
      • B
        backstander @bassman6805
        last edited by backstander

        @bassman6805
        Look in the /opt/retropie/configs/all/retroarch-joypads/ directory and there should be a .cfg file with your controller settings in it.

        For example I have a wireless Xbox 360 controller so mine is:
        /opt/retropie/configs/all/retroarch-joypads/Xbox360WirelessReceiver\(XBOX\).cfg

        In your version of that file you can put your hotkey settings. It will be in what looks like a random order.

        I believe the ones for your controller will end with _btn
        https://github.com/retropie/retropie-setup/wiki/RetroArch-Configuration#hotkeys
        Another example:
        input_enable_hotkey_btn is for controllers and input_enable_hotkey is for the keyboard.

        I have manually re-organized mine so I can read it easier but here is my hotkey section

        # Hotkey button
        input_enable_hotkey_btn = "8" #Select
        # Exit emulator
        input_exit_emulator_btn = "9" #Start
        # Saves state
        input_save_state_btn = "1" #B button
        # Loads state
        input_load_state_btn = "2" #X button
        # Move to next save state slot
        input_state_slot_increase_btn = "5" #R button
        input_state_slot_increase_axis = "+0" #Right on D pad/Left Stick
        # Move back a save state slot
        input_state_slot_decrease_btn = "4" #L button
        input_state_slot_decrease_axis = "-0" #Left on D pad/Left Stick
        # Reset ROM
        input_reset_btn = "0" #A button
        input_reset_axis = "-1" #Up on D pad/Left Stick
        # Toggle RetroArch menu
        input_menu_toggle_btn = "3" #Y button
        # Volume controls: mute, volume up and down
        input_audio_mute_axis = "+1" #Down on D pad/Left Stick
        input_volume_up_axis = "-3" #Up on Right Stick
        input_volume_down_axis = "+3" #Down on Right Stick
        # Take screenshot
        input_screenshot = "7" #Right Trigger button
        

        Determining Button Values
        https://github.com/retropie/retropie-setup/wiki/RetroArch-Configuration#determining-button-values

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        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.