I connected my PC to my TV. However, the game (Battlefront 2) constantly switches between keyboard and controller control. I connected the Xbox Controller to the PC via Bluetooth.
Have you ever tried locking the keyboard while playing?
Unfortunately, that doesn't help 😕