I have a generic pair of smartphone earphones that have the button (along with a microphone) and I would like to use the button as a pause/play key in Ubuntu, like I would on an Android phones music player.
Is there a way to enable this headset control in Ubuntu?
If the headset controls are a hardware feature of audio jacks used in Android phones, the name of that hardware (audio jack) would be appreciated.