03-05-2020, 05:18 AM
(This post was last modified: 03-05-2020, 05:51 AM by kenling.
Edit Reason: post improved with more information
)
thanks Ross, Maartin & Kent for this feature.
Happily using my Pirate Audio headphone HAT
Have successfully setup the GPIO button handler.
found in
Local Services section of System Config.
Button 1, PIN 5 CMD /var/www/vol.sh up 1
Button 2, PIN 6 CMD /var/www/vol.sh dn 1
Button 3, PIN 16 CMD /var/www/vol.sh mute
Button 4, PIN 20 CMD mpc next
(don't forget to then turn GPIO button handler to ON and then SET)
gleaned from http://moodeaudio.org/forum/showthread.p...pio+config
further information at http://moodeaudio.org/forum/showthread.p...198&page=3
regards
Ken
Happily using my Pirate Audio headphone HAT
Have successfully setup the GPIO button handler.
found in
Local Services section of System Config.
Button 1, PIN 5 CMD /var/www/vol.sh up 1
Button 2, PIN 6 CMD /var/www/vol.sh dn 1
Button 3, PIN 16 CMD /var/www/vol.sh mute
Button 4, PIN 20 CMD mpc next
(don't forget to then turn GPIO button handler to ON and then SET)
gleaned from http://moodeaudio.org/forum/showthread.p...pio+config
further information at http://moodeaudio.org/forum/showthread.p...198&page=3
regards
Ken