Default Headset volume buttons

I have a headset with three buttons two of those are for volume. But we all know that these buttons won't work.

Is there any way to make the volume buttons work?

Sent from my P6-U06 using XDA Free mobile app