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

IGameInputDevice.GetDeviceInfo returns incomplete data on Windows 10 #35

Open
RobinLe1402 opened this issue May 12, 2023 · 3 comments
Open

Comments

@RobinLe1402
Copy link

No matter what controller I try (XBox One, XBox 360, a non-Microsoft gamepad) - the data returned by IGameInputDevice::GetDeviceInfo is always incomplete.

For one thing, displayName and deviceString are always set to zero:
Screenshot: XBox One controller

Is the GDK as a whole even meant to be used on Windows at this point? I feel like I'm in a Microsoft-internal repo. All the unimplemented functions don't help.

@DJm00n
Copy link

DJm00n commented Sep 20, 2023

I believe that most of these fields get only filled for GameInputDeviceInfo.deviceFamily == GameInputFamilyHid devices which support itself

is not yet implemented.

🙃

@phantomsixthplayer
Copy link

phantomsixthplayer commented Oct 4, 2023

I am also experiencing this issue.

Xbox Wireless Adapter for Windows 10:
  Display Name: Xbox Wireless Adapter for Windows
  Device Instance Path: USB\VID_045E&PID_02FE\200142
  Driver Version: 1.0.46.1

Gamepad:
  Model No: 1914 (QAS-00003) - Xbox Wireless Controller - Robot White
  Display Name: XINPUT compatible HID device
  Device Instance Path: HID\VID_045E&PID_0B12&IG_00\7&1E02870D&10&0000
  Driver Version: 10.0.19041.3031
  Product Name: Controller (Xbox One For Windows)
  Instance Guid: {170c5400-59e9-11ee-8001-444553540000}
  Vendor Id: 1118
  Product Id: 2834

Environment information:
  Edition: Windows 10 Pro
  Version: 22H2
  Installed on: 9/‎01/‎2022
  OS build: 19045.3448
  Experience: Windows Feature Experience Pack 1000.19044.1000.0

image

@CDMcGwire
Copy link

I believe DJm00n is correct in regards to most of the fields, but it seems incorrect that fields like "displayName" are coming up NULL. In my case, every device recognized by GameInput reports a NULL value in the displayName field, even mice and keyboards.

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

4 participants