How to play sound from Laptop and TV to my Logitech g430?

I3I5I7

Estimable
Jul 23, 2014
3
0
4,510
My goal here is to use Teamspeak 3 while playing Xbox one or ps4. Getting the audio from TV and Mic to laptop is easy, but getting the audio from the laptop while still getting the audio from the TV is what is causing me trouble.
What cables would I need?
Could I use my laptop as the mixer also?
Any other ideas?
Thanks in advance guys!
 

I3I5I7

Estimable
Jul 23, 2014
3
0
4,510


And this would allow me to play the two inputs simultaneously?