A cheap double pole double throw(SPDT) switch can be used to make a diy solution to this problem.
Seeing as you can buy them premade, that may be your best option if you are not the DIY type.
I think software would be my first option too however(and I have the switches are plugs needed to build one, just not something I need).