Couch gaming with WoL, Steamlink, gamepad and LG TV API

I recently purchased a mini PC to use as a media center and home server. One of the things I wanted to explore was streaming games from my desktop PC to the TV. This works well enough, but it is kind of a hassle to get to the gaming: If off, turn on the TV Select correct HDMI-input (no CEC on the mini PC) Launch SteamLink, which means I have to fish out the keyboard/trackpad-combo from under the…