My LG will switch to whatever HDMI inputs "activates". It defaults to my Chromecast w/Google TV, but if I turn on my Steam link, or Blu-ray player the input automatically switches.
The problem is if you have a PC connected. PCs generally don't support HDMI CEC or eARC or any other mechanisms to signal the TV to turn on or change inputs. This is supposedly for security reasons.