Open p-vdp opened 2 months ago
I don't have any spare bandwidth but maybe another dev will become interested and volunteer their time and effort to write the code for this.
@moodeaudio I know you're busy 😃
I meant to ask, is this a PHP coding task? Python? Something else? If Python, I might be of some use...
This is a 99% python task if you take a look a the rotenc.py script so far (all hard-coded).
That is if you simply want fixed GPIO-Pins with no config. I'd say it would make sense to make this configurable ... for example taking a look at Rotary Encoder II plugin in Volumio ...
One could use the gpio-config.php and basically create a config for the rotary encoders too ...
This is how it looks like in Volumio:
My radio build has two rotary encoders, one for volume (which works great with standard settings) and one that I want to use for track selection (mpc previous and next commands).
What would it take to add settings/support for one or more rotary encoders to be assigned to mpc commands?