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

    Hotkeys Save/Load Game doesn't work.

    Scheduled Pinned Locked Moved Help and Support
    hotkeyssave filessavestate
    22 Posts 4 Posters 11.4k 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.
    • rbakerR
      rbaker @theink
      last edited by

      @theink I am absolutely not sure at all. However, I used NULL in computing for years so assumed, maybe wrongly! So in SQL for example, it indicates no value. I have used it and it appears to work but maybe I have not noticed that it doesn't as I haven't tried my "disabled buttons"! I know in windows that it's NUL for no process, probably......if it's in the retroarch.cfg, it could be NUL! Lets ask @meleu

      1 Reply Last reply Reply Quote 0
      • meleuM
        meleu
        last edited by

        The trailing _btn in config name means that it refers to a joystick mapping (not the keyboard one)

        input_enable_hotkey_btn = "y"
        

        With no _btn, it refers to keyboard. So...

        input_enable_hotkey = "nul"
        

        ... means that you don't have a hotkey enabled for your keyboard.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        theinkT rbakerR 2 Replies Last reply Reply Quote 2
        • theinkT
          theink @meleu
          last edited by theink

          @meleu Thank you!
          This was really helpful!

          Now I get it.
          All my hotkeys are currently mapped as joystick buttons.

          One step closer to greatness! :)

          meleuM 1 Reply Last reply Reply Quote 1
          • meleuM
            meleu @theink
            last edited by meleu

            @theink if your problem was solved, please mark this thread as "solved" and select the post that solved your problem as the correct answer. This practice improves the forum quality and other members can solve their similar problems. ;-)

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            theinkT 1 Reply Last reply Reply Quote 0
            • rbakerR
              rbaker @meleu
              last edited by

              @meleu so is it always nul or null? or a combination of both?

              meleuM 1 Reply Last reply Reply Quote 0
              • meleuM
                meleu @rbaker
                last edited by

                @rbaker nul. But I think RetroArch ignores any invalid option. So, null has the same effect as nul (but I'm not sure).

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 2
                • theinkT
                  theink @meleu
                  last edited by theink

                  @meleu
                  I will postpone the testing for the weekend as I don't have much time in the evenings.

                  But an interesting thing happened to me yesterday, that I want to share.
                  I have done some fast configuring. I started the Pi and it turned out that my hotkey has stopped functioning.
                  Retropie detects the right key pressed, but it appeared that the function is nulled. I thought that I f*cked something up and restored my backup.
                  When I turned it on the hotkey still didn't work. I tested it several times with no result. I gave up and turned off the cabinet from the plug.

                  This morning I turned it back on and everything worked just fine.
                  I can not explain this to myself. I'm completely baffled. Even as I write this I wonder if I had imagined it.

                  From what I know the raspberry pie's only memory is located on the sd card, so I really have no idea how such a thing could be possible.

                  meleuM 1 Reply Last reply Reply Quote 0
                  • meleuM
                    meleu @theink
                    last edited by

                    @theink keep in mind that despite being all RetroArch each core has its own config file. It can be related to your episode.

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    1 Reply Last reply Reply Quote 0
                    • theinkT
                      theink
                      last edited by

                      @meleu
                      I finally have some free time to do testing on the configuration.

                      First question...
                      I just figured out that I can not have two sets of hotkeys for each player.
                      For example, if I write the following code the second two lines are canceled by the first two.


                      input_enable_hotkey = "y"
                      input_exit_emulator = "h"

                      input_enable_hotkey = "u"
                      input_exit_emulator = "j"


                      What I tried to do is to list two sets of hotkeys for each player. It obviously doesn't work this way.
                      In short Is there a way to map two sets of hotkeys?

                      Thanks in advance.

                      dankcushionsD meleuM 2 Replies Last reply Reply Quote 0
                      • dankcushionsD
                        dankcushions Global Moderator @theink
                        last edited by

                        @theink no. in fact, only player 1 has access to hotkeys at all.

                        1 Reply Last reply Reply Quote 0
                        • meleuM
                          meleu @theink
                          last edited by meleu

                          @theink

                          In short Is there a way to map two sets of hotkeys?

                          You can map different sets of hotkeys for each controller.

                          For keyboard the file is the ...all/retroarch.cfg.

                          For each joystick the files are those ...all/retroarch-joypads/JOYPAD_NAME.cfg files.

                          And, as @dankcushions said, only player 1 can use hotkeys. But RetroArch recently got a feature to let any player use hotkeys and control RGUI (implemented in this PR). You can use this feature if you update RetroArch from source, and I think it will be available in the next RetroPie release.

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          theinkT 1 Reply Last reply Reply Quote 0
                          • theinkT
                            theink @meleu
                            last edited by

                            @meleu Ok, now I get it. Thank you for clearing this. I will stick to one player hotkey controls.
                            Another question please.

                            While editing the main retroarch.cfg file I made a little test.
                            I switched the functionality of my SELECT button with another button on my control panel and noticed that after a restart the Select key has still has been mapped to its previous position, although that in the cfg file this key has been nulled.

                            I concluded that the controls for the main menu are not written inside the all/retroarch.cfg.
                            Is that so? Where can I find them?

                            meleuM 1 Reply Last reply Reply Quote 0
                            • meleuM
                              meleu @theink
                              last edited by

                              @theink said in Hotkeys Save/Load Game doesn't work.:

                              While editing the main retroarch.cfg file I made a little test.
                              I switched the functionality of my SELECT button with another button on my control panel

                              What do you mean with "control panel"?

                              I concluded that the controls for the main menu are not written inside the all/retroarch.cfg.

                              The control configs for the main menu (what we are used to call RGUI) are on those file I mentioned on my last post. It depends on what you are using to control the player1.

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              theinkT 1 Reply Last reply Reply Quote 0
                              • theinkT
                                theink @meleu
                                last edited by

                                @meleu Sorry, by control panel I mean the physical joysticks and buttons installed on the arcade cabinet.
                                Basically what I did has I reassigned the functionality of the Select button of retroarch to a different keyboard key.
                                I did that inside the ...all/retroarch.cfg . After that, I restarted the Pi.

                                What I found is that my newly assigned Select button didn't work.
                                Instead, the previous key I used continued functioning as Select.

                                meleuM 1 Reply Last reply Reply Quote 0
                                • meleuM
                                  meleu @theink
                                  last edited by

                                  @theink

                                  What I found is that my newly assigned Select button didn't work.
                                  Instead, the previous key I used continued functioning as Select.

                                  Well, I don't know the details of your IPAC mappings. But the retroarch.cfg doesn't change by itself. :-)

                                  You have to discover what key is bound to what button after your changing and then edit your all/retroarch.cfg.

                                  (P.S.: Is "bound" the past participle of "bind"? I almost wrote binded. :-) still learning English...)

                                  • Useful topics
                                  • joystick-selection tool
                                  • rpie-art tool
                                  • achievements I made
                                  theinkT 1 Reply Last reply Reply Quote 0
                                  • theinkT
                                    theink @meleu
                                    last edited by theink

                                    @meleu
                                    HERE is my exact mapping.
                                    The thing is that I had mapped my select button as Y key from the keyboard.
                                    I'm also using the select button as a hotkey.

                                    Then because of a bug that I described HERE, I tried to disable the select button entirely while in RGUI (main menu).
                                    I restarted the P so that I can allow the system to load the config file anew.
                                    As a result, it turned out that the select button is still active.
                                    It still opens my Options menu while in RGui. And then on a second press, the bug takes effect.

                                    But anyway I suggest we move that discussion to the other post because the Hotkey problem has finally has been resolved.
                                    A lot of text has been written, but basically, my mistake was that I was mapping the hotkeys to a controller instead to a keyboard.

                                    meleuM 1 Reply Last reply Reply Quote 1
                                    • meleuM
                                      meleu @theink
                                      last edited by meleu

                                      @theink
                                      Just a tip to better describe you issues:
                                      It would be better if you explicitly say what software you are using. ;-) Because GUI can be confused with RGUI (RetroArch GUI).

                                      When you say GUI in your previous post it seems that you refers to the emulationstation, anyway.

                                      • Useful topics
                                      • joystick-selection tool
                                      • rpie-art tool
                                      • achievements I made
                                      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.