Using this, you can map the volume up and down long press to next and previous music track.
Currently does not work properly with the Priv's PKB. Keyboard does not work if it's enabled. I've also asked the developer to look into adding support for the Mute button.