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

    Add default controller hotkey bindings for rewind

    Scheduled Pinned Locked Moved Help and Support
    retroarchrewindautoconfig
    1 Posts 1 Posters 683 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.
    • busywaitB
      busywait
      last edited by busywait

      RetroArch offers the ability to rewind gameplay in many cores. Rewind is not enabled by default in RetroPie for performance reasons. On my Pi4, many cores are able to use this feature with no apparent issues.

      It can be tried easily by enabling Rewind in the RGUI. It can be enabled by default with the (almost obvious) addition of

      rewind_enable = "false"
      

      to the relevant retroarch.cfg file for the cores you want to be able to rewind.

      This will enable rewind by pressing and holding "r" on the keyboard.

      It would be helpful if the joypad button or axis binding for my controller was included in the joypad autoconfiguration file that RetroPie creates. This could be done without rewind being enabled, and would just make it easier to use when it is enabled.

      I had to learn a little about the input configuration file syntax to get this right:

      For example, I've added these lines for my "SNES-style" D-pad

      input_rewind_axis = "+1"
      

      And for my wired Xbox controller

      input_rewind_btn = "h0down"
      

      Slightly related, fast forward bindings were a little different again because there are hold vs toggle variants. I bound D-pad up arrow - hold down to fast forward.
      For example, I've added these lines for my "SNES-style" D-pad

      input_hold_fast_forward_axis = "-1"/
      

      And for my wired Xbox controller

      input_hold_fast_forward_btn = "h0up"
      
      1 Reply Last reply Reply Quote 1
      • 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.