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

    Bit confused with the hotkey combination

    Scheduled Pinned Locked Moved Help and Support
    hotkey
    25 Posts 3 Posters 6.9k 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.
    • mituM
      mitu Global Moderator @Chris3535
      last edited by

      For that, you can press Scroll Lock on the keyboard and RetroArch will enter 'Game focus mode', which disables any hotkeys and sends all input directly to the game being run. Press again to toggle back the hotkeys.
      The Pi 400 keyboard doesn't have the aforementioned key present, but you can re-configure it in the configuration file by setting input_game_focus_toggle to another key.

      C 1 Reply Last reply Reply Quote 0
      • C
        Chris3535 @mitu
        last edited by Chris3535

        @mitu said in Bit confused with the hotkey combination:

        For that, you can press Scroll Lock on the keyboard and RetroArch will enter 'Game focus mode', which disables any hotkeys and sends all input directly to the game being run. Press again to toggle back the hotkeys.
        The Pi 400 keyboard doesn't have the aforementioned key present, but you can re-configure it in the configuration file by setting input_game_focus_toggle to another key.

        Thanks again how do I get to the configuration file to re configure it?

        I am guessing it's important that I do this as if for example he plays a game where he has to enter his name.. If he hits a hotkey while doing this then that would be a problem.

        Sorry to be a pain about this.. Is there a step by step guide in how to reconfigure in game focus toggle to another key?

        busywaitB 1 Reply Last reply Reply Quote 0
        • busywaitB
          busywait @Chris3535
          last edited by

          @chris3535 said in Bit confused with the hotkey combination:

          The joystick I have got him has 4 buttons..
          ...
          If I mapped one of the spare buttons as the hotkey. And one of the other spare buttons as the start key.. Would this mean if he pressed them both that it would exit out of the game?

          Yes. A typical combination is that the two buttons Select and Start together exit the game. You could configure two of your buttons as Select and Start and choose Select as the Hotkey Enable button aka "the Hotkey button". Then you can quit with that default Select+Start hotkey combination.

          There are plenty of older games that use 2 or 3 buttons (jump+throw, fire+shields, fire+thrust+hyperspace, ...) I'd expect that mapping your joystick to the Start, A, B and Y buttons could be sensible. Either rely on the keyboard hotkey controls to quit, or if you're feeling brave then select one of those to be the Hotkey Enable when you configure the controller, and edit the config file to configure which button you want to be the exit (hot)key.

          C 1 Reply Last reply Reply Quote 0
          • C
            Chris3535 @busywait
            last edited by

            @busywait Thanks for your reply but i am getting myself more and more confused !

            So he has 4 buttons, i know what your saying about some games have more than one button but for the majority if not all he will only need one button.

            So lets assume we keep on button spare (just in case lol)

            So what your saying is i map one button as Select and one button as start. Then i also choose select as the hotkey button. This means when he presses these 2 buttons it will exit out and he can select another game? is this right?

            Also i need to know how to edit the config file as i need to change the Input_game_focus_toggle to another key as the retro pi keyborad does not have scroll lock. How do i do this?

            Again im really sorry for being a pest with all these questions i am just trying to make tomorrow as easy as possible

            busywaitB 2 Replies Last reply Reply Quote 0
            • busywaitB
              busywait @Chris3535
              last edited by busywait

              @chris3535 said in Bit confused with the hotkey combination:

              @busywait
              So what your saying is i map one button as Select and one button as start. Then i also choose select as the hotkey button. This means when he presses these 2 buttons it will exit out and he can select another game? is this right?

              Yes.

              @chris3535 said in Bit confused with the hotkey combination:

              Also i need to know how to edit the config file as i need to change the Input_game_focus_toggle to another key as the retro pi keyborad does not have scroll lock. How do i do this?

              Quit Emulation Station (Start button, choose quit, choose quit)
              You should see a command line.

              Type

              nano /opt/retropie/configs/all/retroarch.cfg
              

              Change the text that you need to change, and press Ctrl+O
              Press Enter to accept the file name
              Press Ctrl+X to edit the editor

              Type

              emulationstation
              

              (Hint, type emu and press the Tab key).
              Press Enter

              C 1 Reply Last reply Reply Quote 0
              • C
                Chris3535 @busywait
                last edited by

                @busywait You are a star, thank you so so much for this !!!

                1 Reply Last reply Reply Quote 0
                • busywaitB
                  busywait @Chris3535
                  last edited by

                  @chris3535 said in Bit confused with the hotkey combination:

                  I am guessing it's important that I do this as if for example he plays a game where he has to enter his name.. If he hits a hotkey while doing this then that would be a problem.

                  If you are playing old games in RetroArch where you enter your name you will be using the joystick, not a keyboard I think, so no need to worry about accidentally hitting a hotkey.

                  1 Reply Last reply Reply Quote 0
                  • busywaitB
                    busywait @Chris3535
                    last edited by

                    @chris3535 said in Bit confused with the hotkey combination:

                    the retro pi keyborad does not have scroll lock

                    Why do you think that the Pi400/Pi Keyboard does not have a scroll lock?

                    Is there anything similar written in red near the top right of the keyboard?

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @busywait
                      last edited by

                      @busywait said in Bit confused with the hotkey combination:

                      Why do you think that the Pi400/Pi Keyboard does not have a scroll lock?

                      See the product brief, I don't see such key in the available layouts.

                      C busywaitB 3 Replies Last reply Reply Quote 0
                      • C
                        Chris3535 @mitu
                        last edited by

                        @mitu @busywait Thank you all so much for your help with this, i am going to try and get it all setup tomorrow, i have put a full day aside as i think i may need it lol

                        No doubt i will have more questions as and when i get stuck but i wanted to thank you all again.

                        1 Reply Last reply Reply Quote 0
                        • busywaitB
                          busywait @mitu
                          last edited by busywait

                          This post is deleted!
                          busywaitB 1 Reply Last reply Reply Quote 0
                          • busywaitB
                            busywait @busywait
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • busywaitB
                              busywait @mitu
                              last edited by busywait

                              @busywait said in Bit confused with the hotkey combination:

                              @mitu Interesting, because it has a Scroll Lock LED according to this: [https://www.raspberrypi-spy.co.uk/2020/11/raspberry-pi-400-launched/](link URL)

                              I use a K400+ with my Pi4B, and it took a bit of searching to find out that the key combo for Scroll Lock is fn+caps lock. (The keyboard doesn't have any indication printed on it).

                              @mitu said in Bit confused with the hotkey combination:

                              For that, you can press Scroll Lock on the keyboard and RetroArch will enter 'Game focus mode', which disables any hotkeys and sends all input directly to the game being run. Press again to toggle back the hotkeys.

                              Thanks for this - it stopped me starting a new thread because I was struggling to work it out! I think that would be helpful in the docs - I can't see game focus mode mentioned at the moment in input-and-controls

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                Chris3535 @busywait
                                last edited by

                                @busywait so if i press fn and caps lock this might work? this would save me a little job if it did !

                                busywaitB 1 Reply Last reply Reply Quote 0
                                • busywaitB
                                  busywait @Chris3535
                                  last edited by

                                  @chris3535 said in Bit confused with the hotkey combination:

                                  if i press fn and caps lock this might work? this would save me a little job if it did !

                                  I expect that someone in the Raspberry Pi forum would be able to tell you the correct combination if it isn't.

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    Chris3535 @busywait
                                    last edited by

                                    @busywait Good thinking, i have aksed and will put answer here when i get one, just in case it helps anyone else out in future

                                    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.