I have 2 speakers plugged in on m motherboards audio jacks, and my G110 keyboard has sound card of it's own built in. I was wondering if there was any way to set it up the way I want it, or something similar to it.

The keyboard has a headphone mute button of its own. So I was thinking that I would have sound to the speakers and headphone, but have the headphones muted. But then when I unmute them with the hardware button the speakers would disable, and the headphones will work. This seems like an awesome set up to me! Is there anyway to make it happen? Or something of the sort, any program?