GameInput issues with detecting input when Xbox controller is connected via bluetooth

Alan Walker 20 Reputation points
2024-07-09T12:02:48.8133333+00:00

Hi,

I was following the tutorials on utilising GameInput, a component of GDK (from here https://video2.skills-academy.com/en-us/gaming/gdk/_content/gc/input/overviews/input-fundamentals) and noticed that if I have a controller connected via bluetooth the input state always comes back as no input detected. However, if I connect the controller via a wired connection I receive the expected input. I grabbed the GameInput headers from the nuget package. I also reported this on an existing issue that another user was facing on Github: https://github.com/microsoft/GDK/issues/70. Any support would be greatly welcomed here.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,630 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
53 questions
0 comments No comments
{count} votes

Accepted answer
  1. Q&A Assist
    2024-07-09T12:02:48.8166667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    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:


0 additional answers

Sort by: Most helpful