audiosettings controller-friendly volume mixer
-
Hi everyone,
this is my first post here, so please be kind :)
I follow the Retropie project for quite some time now, and recently I decided to get involved with development and help improving this wonderful platform.
I had some issues bothering me with the audiosettings script, mainly the unability to quit the alsamixer when using only a controller. I may be unaware of a special key combination to do that, but for now it forced me to plug a keyboard just to click on ESCAPE.
So I decided to get my hands dirty and wrote a really simple script to adjust the volume with the controller only.
I tried to stay inside the development guidelines, but my bash skills are not that high so it may need some refinement. you can check the script modifications here :
Basically, this script will read the amixer volume info and display it on a simple dialog with a gauge. the user can then adjust the volume using up or down on his controller, and exit the script by pressing either ok or cancel on his controller.
the amixer read part was a bit tricky for me, so I used this part based on the following script : https://www.dronkert.net/rpi/vol.html (I still need to contact the author to see if he's ok with me using part of his script).
I don't know really the process for validating a new feature or adding a pull request, so if you have any advice / information regarding the script or the usefulness of it, I'll appreciate it greatly !
Cheers,
Poulpe
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.