GameInput may not detect input when an Xbox controller is connected via Bluetooth. This issue has been reported by other users on Github as well. One possible solution is to use XInput Game Controller APIs instead of GameInput. XInput is a functional superset of all legacy input APIs, including GameInput, and is designed to receive input from a controller. XInput is available on all Windows platforms, including PC, Xbox, HoloLens, and IoT. For more information on XInput, see the XInput Game Controller APIs portal page.
References: