Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game controllers (Xbox One, Xbox 360, Sony PS5) - GetGamepadState always returns empty state #70

Open
manas-kulkarni opened this issue Jun 6, 2024 · 1 comment

Comments

@manas-kulkarni
Copy link

  • Latest GDK and latest Windows 10 update
  • GameInput and Gaming Services service running
  • Latest XBOX-GDK-Samples - Gamepad
  • Xbox One USB, Logitech Xbox 360 - Controller shows connected but GamepadState is always empty
  • Sony PS5 controller - Controller not even connected

We have tried running the repair tool https://support.xbox.com/en-US/help/games-apps/troubleshooting/gaming-services-repair-tool

Microsoft says that GameInput is the recommended input API regardless of the target platform, supposed to work even on earlier versions of Windows as well. Are we missing something in the setup?

Thank you

@manas-kulkarni manas-kulkarni changed the title USB controllers (Xbox One, Xbox 360, Sony PS5) - GetGamepadState always returns empty state Game controllers (Xbox One, Xbox 360, Sony PS5) - GetGamepadState always returns empty state Jun 6, 2024
@Bambo-Borris
Copy link

Bambo-Borris commented Jun 24, 2024

I've also experienced this recently. Grabbed the GameInput dependencies from the nuget package and began working through the tutorials. The one on getting basic readings is just giving me empty states for the pad. It identifies my Xbox One pad as a Xbox 360 family (maybe that's expected on PC?). Also the same concerns with PS4/PS5 controllers too. Ran the repair tool, nada. I have the redist installed... Nada..

Edit:

I identified my own problem, if the gamepad is connected via bluetooth it fails. If it's connected via USB C there's no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants