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

    In game glitch custom arcade buttons.

    Scheduled Pinned Locked Moved Help and Support
    arcade buttonsweirdbug reporthelp
    20 Posts 3 Posters 2.7k 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.
    • T
      Thomas_N @mitu
      last edited by

      @mitu
      I have taken a look at retropie setup > configuration > retroarch > configure keyboard for use with RetroArch and everything is normal in there. Under configure keyboard hotkey behaviour it says: "Hotkey enabled. (default)". So I don't think there is a problem there.
      I have manually edited the retroarch.cfg file from the snes. I have changed all the buttons to the right keyboard input and this works but the Hotkey does not function at all. Any ideas?

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

        @Thomas_N It actually says Hotkeys enabled, meaning there is no Hotkey set and the buttons set to hotkeys (save/load/rewind/menu/etc) will trigger the actions. By default, the input_enable_hotkey is set to nul (i.e. no hotkey) in the global retroarch.cfg.
        If you want a button to act as a hotkey, then change the value to the desired button value in that config file, or use the RetroArch configuration dialog (posted in the screenshot) to set it to alt or esc.

        T 1 Reply Last reply Reply Quote 0
        • T
          Thomas_N @mitu
          last edited by

          @mitu ,

          You were right, there was no button configured to the hotkey in the overall retroarch.cfg file. I have configured one now, but nothing seems to have changed.
          I only use the hotkey to exit out of games (hotkey + start + select), so that is the only way I have tested it.
          Any more ideas?

          a9dc6852-07dd-4a30-a307-54c9cba50a7c-image.png

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

            Can you try adding it just like in the config file - input_enable_hotkey_btn ?

            If that doesn't work, can you post a log file (/dev/shm/runcommand.log) of your game run taken with verbose logging from the Runcommand menu enabled ? Put it on pastebin.com, it should be quite large.
            Also, post your retroarch.cfg, both the one from /opt/retropie/configs/all and the one in /opt/retropie/configs/arcade.

            T 2 Replies Last reply Reply Quote 0
            • T
              Thomas_N @mitu
              last edited by

              @mitu
              Changing " # input_enable_hotkey_btn = " to " input_enable_hotkey_btn = "c" " dit not work. Could you explane to me how I can get my hands on the " /dev/shm/runcommand.log " file? Can I get it via SSH?

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

                @Thomas_N said in In game glitch custom arcade buttons.:

                Can I get it via SSH?

                Yes, it's available only through SSH and not via file shares, so you'll need WinSCP installed and SSH enabled.

                1 Reply Last reply Reply Quote 0
                • T
                  Thomas_N @mitu
                  last edited by

                  @mitu
                  I have put the runcommand.log file and both retroarch.cfg files on pastebin with the names "runcommand.log-muti", "retroarch.cfg-(snes)-muti" and "retroarch.cfg-(all)-muti".
                  Sorry they all say "muti", I red your name wrong...

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

                    @Thomas_N It would be easier to just post the URLs to those logs...

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      Thomas_N @mitu
                      last edited by

                      @mitu

                      Runcommand.log
                      https://pastebin.com/M69Wj7ka

                      Retroarch.cfg (snes)
                      https://pastebin.com/V0W51jtS

                      Retroarch.cfg (all)
                      https://pastebin.com/utVhkxWP

                      Here you go.

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

                        I see in both .cfg file you have input_enable_hotkey = "c", but your snes config file is much larger than it should be - you probably enabled 'Save Config on Exit' in RGUI or saved the configuration file from within the RGUI. The recommended way to save configuration is to use 'Core Input Remapping' from the RGUI (https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping).

                        Start from scratch with the snes stock retroarch.cfg

                        # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
                        
                        input_remapping_directory = "/opt/retropie/configs/snes/"
                        
                        #include "/opt/retropie/configs/all/retroarch.cfg"
                        

                        and add only the things you need.

                        Since you already enabled the hotkey in the global retroarch.cfg file, there's no need to add it again on the snes system.

                        T 2 Replies Last reply Reply Quote 0
                        • T
                          Thomas_N @mitu
                          last edited by

                          @mitu
                          If I delete the snes cfg file, will it break everything or will It make a clean new one?

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

                            @Thomas_N Don't delete it, just replace its contents with text I pasted in my previous reply. It will not be automatically re-created.

                            1 Reply Last reply Reply Quote 0
                            • T
                              Thomas_N @mitu
                              last edited by

                              @mitu Okay I've replaced everything in the snes retroarch.cfg file with what you said, everything still works but the hotkey still doesn't. It doesn't seem like anything has changed...

                              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.