Nate,
This may not be the answer you are looking for but it is probably the best advice you will get. Use the search button. There are countless threads about doing this and countless answers to this question. I've written about using a switch box and a specific encoder to switch between controls for various consols and PC / MAC and video via switches. Other have as well. There is no right or wrong way to do it. But there are quite a few.
-Goz