RetroPie python script and service to enable a rotary encoder change the volume and
Make sure that you are using Alsamixer, I did the standard Adafruit Speakerbonnet install on my pi first.
Add the Python script and configure the correct GPIO pins for the rotary encoder and button (if applicable)