Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Using the joystick to adjust audio volume in MAME/Retroarch

    Emulator Arcade/PC/Console
    joystick adjust audio volume mameretroarch
    3
    4
    544
    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.
    • ChrisK
      ChrisK last edited by

      Hi,

      I would like to be able to adjust the volume in MAME games by pressing the hotkey and moving the joystick up/down (which by default changes the save state slot). I've edited the retroarchcustom.cfg file (in share/system/configs/retroarch), deleting the lines:

      input_state_slot_decrease_axis = +0
      input_state_slot_increase_axis = -0
      

      and replacing them with:

      input_volume_down_axis = +0
      input_volume_up_axis = -0
      

      Now I find that moving the joystick changes both the volume AND the state slot. When I reopen the retroarchcustom.cfg file I can see that the two lines I deleted have reappeared.

      Is there any way I can permanently stop hotkey+joystick up/down from changing the save slot?

      olivierdroid92 Zing 2 Replies Last reply Reply Quote 0
      • olivierdroid92
        olivierdroid92 Global moderator @ChrisK last edited by

        @chrisk
        Hi
        Did you try with a surcharge ?

        https://wiki.recalbox.com/fr/advanced-usage/configuration-override#:~:text=Vous pouvez surcharger les configuration,les jeux d'un répertoire.

        ChrisK 1 Reply Last reply Reply Quote 0
        • ChrisK
          ChrisK @olivierdroid92 last edited by

          @olivierdroid92 I did try, but without success. However, I couldn't work out how to use a configuration override file to "cancel" an existing setting. What should I put in the override file to delete the default input_state_slot_decrease_axis and input_state_slot_increase_axis settings?

          1 Reply Last reply Reply Quote 0
          • Zing
            Zing Global moderator Translator @ChrisK last edited by

            @chrisk Try something like this:

            input_state_slot_decrease_axis = "nul"
            input_state_slot_increase_axis = "nul"
            input_volume_down_axis = +0
            input_volume_up_axis = -0
            

            Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
            If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Want to support us ?

            84
            Online

            98.6k
            Users

            28.1k
            Topics

            187.0k
            Posts

            Copyright © 2021 recalbox.com