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

    how to make volume up and volume down with buttons

    Scheduled Pinned Locked Moved Help and Support
    volumebuttonscontrolhotkeys
    23 Posts 12 Posters 25.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.
    • caver01C
      caver01 @ooskay
      last edited by

      @ooskay said in how to make volume up and volume down with buttons:

      @caver01 Sir,
      first of all thanks for the trick! I have two player usb encoder setup. Whatever i did unable to figure out to ran the volume up and down command over GPIO on raspberry pi or from on my joyistic buttons.
      Would you please share with us in here your used python or shell script or whatever using to up and down the volume with buttons.Thanks

      Sorry, I am not near my system to share a config, and at this point I don't even remember how or where to find a config. I simply followed the instructions to setup the software, then added commands via the web interface using the GPIO pins I know I am using.

      I will add that for a second go-round on a NESPi setup, I simply wrote a Python script to manage GPIO inputs watching for EDGE triggers, then executing commands. If I could do over again, I would not need to use something with the fancy setup and web interface like GPIOnext. Raw Python would work fine.

      My 4-player cocktail style cabinet built as a custom "roadcase"

      1 Reply Last reply Reply Quote 0
      • F
        fredbuilder
        last edited by fredbuilder

        I have figured out an easy way to change the volume within retroarch configuration. Yes, you will need a game loaded in order to change the volume and this only applies to emulators managed by retroarch but I find it is the best way for me to change the volume in my small arcade cabinet and also my Game Boy zero build.

        I recorded the process but it is as follows:

        RetroPie --> retroarch --> Main Menu --> Settings --> Input --> Hotkey binds

        Then just make sure your binds dont clash with any existing ones, set the control for volume i.e. left/right and save the configuration before quitting retroarch.

        In game you will be able to control the volume with your controls whilst holding the hotkey (select if you dont have a dedicated hotkey).

        ClydeC 1 Reply Last reply Reply Quote 3
        • ClydeC
          Clyde @fredbuilder
          last edited by Clyde

          @fredbuilder This was discussed earlier in this thread, but via direct editing of the config file. Thanks for the addition about the GUI and for the video. Nice handheld. 🤩

          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.