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

    Volume up/down with USB-sound card

    Scheduled Pinned Locked Moved Help and Support
    usb soundhotkey
    4 Posts 3 Posters 1.1k 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.
    • O
      oloff3
      last edited by oloff3

      Hi!
      I have been building a GameBoy Zero into a Nintendo DS and are almost done.
      But I can't get the hotkeys for volume up and down to work.

      I just have added the lines into my GPIO joypad cfg files to bind input_volume_up = "button value".

      Edit:
      I have managed to get the volume setting to work from the EmulationStation menu but not with Hotkeys while playing a game.

      Any idea what I am doing wrong?
      Best regards
      Oloff3

      1 Reply Last reply Reply Quote 0
      • retroprogrammerR
        retroprogrammer
        last edited by

        Did you setup Hotkeys when you were imputing the button controllers for your Game Boy ,Nintendo DS, Nintendo DS Boy :)

        Here is me converting the original Xbox for a case:
        https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
        Check out my GitHub: https://github.com/retro-programmer

        O 1 Reply Last reply Reply Quote 0
        • O
          oloff3 @retroprogrammer
          last edited by

          @retroprogrammer
          I configured one button to hotkey. And hotkeys like exit emulation, reset, state saves works fine, but for some reason the volume control don't work.

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

            @oloff3 You could try something like:

            input_volume_up = +<button value>
            input_volume_down = -<button value>
            

            or another approach is described here https://retropie.org.uk/forum/topic/2377/control-volume-through-retroarch-with-keyboard/4, outside of RetroArch. The example in the topic is more for the keyboard use, but if you can make the events appear as keypresses, the principle is the same.

            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.