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 volume change in-game

    Scheduled Pinned Locked Moved Help and Support
    volumeretropieconfigcontroller
    10 Posts 5 Posters 4.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.
    • R
      Retroboii
      last edited by

      So I wanted to map to the D-Pad Up + Hotkey and D-Pad Down + Hotkey the ability to change the volume in-game. I went to /opt/retropie/configs/all/retroarch/autoconfig/<controller>.cfg
      and added
      input_volume_up_btn = "h0up"
      input_volume_down_btn = "h0down"
      Sadly that didn't work any idea why?

      DougAD edmaul69E 2 Replies Last reply Reply Quote 0
      • DougAD
        DougA @Retroboii
        last edited by

        @retroboii

        Try this, it may work better. It came up in a discussion a month ago, but I haven’t tried it yet.

        input_volume_up_axis = +1 #Up on Joystick/d-pad
        input_volume_down_axis = -1 #Down on Joystick/d-pad
        input_audio_mute_axis = +0 #Left on Joystick/d-pad

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

          @douga said in Hotkey volume change in-game:

          input_volume_up_axis = +1 #Up on Joystick/d-pad
          input_volume_down_axis = -1 #Down on Joystick/d-pad
          input_audio_mute_axis = +0 #Left on Joystick/d-pad
          

          I think these work in combination with the Hotkey button, so if you try these settings, hold Select and press up/down to change volume.

          DougAD 1 Reply Last reply Reply Quote 0
          • DougAD
            DougA @mitu
            last edited by

            @mitu yes,sorry I should have said that.

            R 1 Reply Last reply Reply Quote 0
            • edmaul69E
              edmaul69 @Retroboii
              last edited by edmaul69

              @retroboii did you “nul” the hotkey buttons that were originally assigned to h0up and h0down? Plus as stated by others you need to press your hotkey plus the volume button.

              1 Reply Last reply Reply Quote 0
              • R
                Retroboii @DougA
                last edited by

                @douga Tried it sadly didn't work do you have the link to the thread? maybe there are extra steps?

                DougAD 1 Reply Last reply Reply Quote 0
                • DougAD
                  DougA @Retroboii
                  last edited by

                  @retroboii
                  It was something I had found on Reddit, but I can’t find the original source again. As @mitu mentioned, it works by holding select. There was an extra line for setting that up:
                  input_enable_hotkey_btn = 8 #Select
                  input_volume_up_axis = +1 #Up on Joystick
                  input_volume_down_axis = -1 #Down on Joystick
                  input_audio_mute_axis = +0 #Left on Joystick

                  1 Reply Last reply Reply Quote 0
                  • A
                    Anicetus_Cer
                    last edited by

                    I know this is an old topic, but I tested the given examples in previous posts and they did not work for me, that is not to say they did not work in older versions of retroarch, for the record I just tested on retroarch 4.5.9 on my retropie handheld system.

                    To get the ingame hotkey volume control working add the following two lines to /opt/retropie/configs/all/retroarch.cfg;

                    input_volume_up = "up"
                    input_volume_down = "down"

                    Below is an example excerpt showing that I added the new lines underneath there reference lines in the retroarch.cfg file, Lines starting with a hash symbol (#) mean that they will not be interpreted, and as a general rule of thumb in linux, often show what default values will be overriden by adding the new lines.

                    "
                    #Line 602...

                    Increases audio volume.

                    input_volume_up = kp_plus

                    input_volume_up = "up"

                    Decreases audio volume.

                    input_volume_down = kp_minus

                    input_volume_down = "down"
                    #Line 609...
                    "

                    Note: I tend to use the volume control menu in emulation station to set the "master volume" for want of a better phrase then the in game volume for fine grained adjustment.

                    Hope it helps someone, if so upvote.

                    1 Reply Last reply Reply Quote 0
                    • A
                      Anicetus_Cer
                      last edited by

                      For some reason I can not edit my own post without it being reported as spam, here is the excerpt again with the quotes correctly displayed rather than being interpreted by the forum page as a mark up.

                      #Line 602...
                      #Increases audio volume.
                      #input_volume_up = kp_plus
                      input_volume_up = "up"
                      #Decreases audio volume.
                      #input_volume_down = kp_minus
                      input_volume_down = "down"
                      #Line 609...
                      "

                      1 Reply Last reply Reply Quote 0
                      • A
                        Anicetus_Cer
                        last edited by

                        Anicetus_Cer
                        Anicetus_Cer 21 minutes ago

                        I know this is an old topic, but I tested the given examples in previous posts and they did not work for me, that is not to say they did not work in older versions of retroarch, for the record I just tested on retroarch 4.5.9 on my retropie handheld system.

                        To get the ingame hotkey volume control working add the following two lines to /opt/retropie/configs/all/retroarch.cfg;

                        input_volume_up = "up"
                        input_volume_down = "down"

                        Below is an example excerpt showing that I added the new lines underneath there reference lines in the retroarch.cfg file, Lines starting with a hash symbol (#) mean that they will not be interpreted, and as a general rule of thumb in linux, often show what default values will be overriden by adding the new lines.

                        #Line 602...
                        #Increases audio volume.
                        #input_volume_up = kp_plus
                        input_volume_up = "up"
                        #Decreases audio volume.
                        #input_volume_down = kp_minus
                        input_volume_down = "down"
                        #Line 609...
                        

                        Note: I tend to use the volume control menu in emulation station to set the "master volume" for want of a better phrase then the in game volume for fine grained adjustment.

                        Hope it helps someone, if so upvote.

                        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.