01-29-2021, 07:23 PM
Oh yes, triggerhappy now is there, works, and if you want you can even customize commands by editing the /etc/triggerhappy/triggers.d/media.conf file.
By default pushing the knob mutes audio, but I preferred to pause/play.
I changed this line:
KEY_MUTE 1 /var/www/vol.sh -mute
into this:
KEY_MUTE 1 /usr/bin/mpc toggle
After restarting the triggerhappy service my button switches between playback and pause!
By default pushing the knob mutes audio, but I preferred to pause/play.
I changed this line:
KEY_MUTE 1 /var/www/vol.sh -mute
into this:
KEY_MUTE 1 /usr/bin/mpc toggle
After restarting the triggerhappy service my button switches between playback and pause!