Do yourself a favor and get a source selector device. It will greatly simplify things, especially since without knowing what TV you have or what game consoles you're talking about, we would be talking about a couple dozen possible wiring diagrams for the different possibilities.