Is there anyway to set up a hotkey that will switch between two audio outputs?

My setup is this:

Mac Mini -> speaker system
at the same time, my keyboard (Logitech G110) has a headphone and mic jack so I keep my headset plugged in at all times.

What I'm looking for are some hotkeys that I can set up to switch between both outputs (one being USB - keyboard, and one being the Mac Mini headphone output - speaker system).

I'm looking to be able to macro them to my Logitech G110 which is why I'm looking for keyboard shortcuts specifically.

If it's possible, thanks!