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 delay & hotkey for rewind/ff conflict

    Scheduled Pinned Locked Moved Help and Support
    hotkeydelayrewindfast forwardthreshold
    9 Posts 6 Posters 2.8k 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.
    • matchamanM
      matchaman
      last edited by matchaman

      Hi guys.

      I am using RP 4.1 and I have two questions I've been unable to find answers for.

      First, it appears that a (very) few times I manage to accidentally exit a game by pressing Start and Select. Is there a way to delay this command? Some games may require pressing Start and Select (and other hotkey combinations), therefore it would be ideal if the hotkey would need to be pressed for a second or two after it behaves as such.

      My second question is an issue that I've been having with disabling save state slot hotkeys (Select and left/right) and setting them to rewind/fast forward respectively. While I'm using the assigned action, it appears that at the same time the slot changes (concurrently). I even nullified the values except for the +0 -0 and the save state slots seem "hardwired" no matter what else I assign. Is there a way to use Select + left/right exclusively for the timing commands?

      Cheers!

      PS: binding the actions to different buttons without a hotkey is out of question, as I'm using SNES and NES controllers on my (two) setups

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @matchaman
        last edited by

        @matchaman said in Hotkey delay & hotkey for rewind/ff conflict:

        First, it appears that a (very) few times I manage to accidentally exit a game by pressing Start and Select. Is there a way to delay this command? Some games may require pressing Start and Select (and other hotkey combinations), therefore it would be ideal if the hotkey would need to be pressed for a second or two after it behaves as such.

        no, but that's not a bad idea! might be worth suggesting it on https://forums.libretro.com/t/development-suggestions/2646/208

        1 Reply Last reply Reply Quote 0
        • matchamanM
          matchaman
          last edited by

          Thanks, I'll post it there :)

          As for my second inquiry, is there any hope? I don't understand why the hotkeys can't be changed.

          1 Reply Last reply Reply Quote 0
          • matchamanM
            matchaman
            last edited by matchaman

            Bumping this a bit because I finally found a solution to the second part, might help others :)

            There is a .cfg file with the name of the controller located in /opt/retropie/configs/all/retroarch/autoconfig

            It ignores any retroarch.cfg, therefore I was having double button assignements. Very self explanatory once opened.

            As for the accidental exits, for now I assigned exit with hotkey/select + down which is far less possible to be needed in a game.

            Even so, I'd like to know if there is a way to have a game exit confirmation screen to avoid any further chances of "accidents" (either on RA or ES).

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by BuZz

              we technically have a hotkey delay already. We could increase it (it's not noticeable currently, but is needed to workaround coin input issues) - it's a functionality change though which usually means many won't like it :)

              This was discussed with retroarch, and it sounded as though if i made a configurable option for it they would accept it (our current delay is hardcoded). I don't have free time to do this currently though and I believe they didn't like the way we timed it currently too (just a frame timer). If more people ask for it, they may consider adding it themselves.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              B 1 Reply Last reply Reply Quote 0
              • mediamogulM
                mediamogul Global Moderator
                last edited by

                I've run into this with a couple of emulators and ports here and there. Whenever the situation is so bad that it hurts basic functionality, I add a delay with a xboxdrv mapping. Using the xboxdrv 'back' button (a stand-in for 'select') as an example, the addition of a 325 ms delay (my personal preference) would look like:

                --buttonmap back^delay:325=back
                

                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                1 Reply Last reply Reply Quote 0
                • matchamanM
                  matchaman
                  last edited by

                  Thanks! It appears that the solution for now is to use Select & Up for exiting a game. It's not used by any game that I know of.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bomba @BuZz
                    last edited by

                    Hello @BuZz , I'd like to change the delay value that is hardcoded right now.
                    In my custom design, keys needed to jump back to the main menu are really close,
                    I'm experiencing players constantly quitting games by mistake.

                    Can you point me to where the value is hardcoded in the sources?

                    mituM 1 Reply Last reply Reply Quote -1
                    • mituM
                      mitu Global Moderator @bomba
                      last edited by

                      @bomba said in Hotkey delay & hotkey for rewind/ff conflict:

                      I'm experiencing players constantly quitting games by mistake.

                      Which players ? Please open an new topic and explain your problem, don't bump 2 years old topics.

                      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.