GDK icon indicating copy to clipboard operation
GDK copied to clipboard

IGameInputDevice.GetDeviceInfo returns incomplete data on Windows 10

Open RobinLe0 opened this issue 2 years ago • 3 comments

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.

RobinLe0 avatar May 12 '23 22:05 RobinLe0

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

is not yet implemented.

🙃

DJm00n avatar Sep 20 '23 11:09 DJm00n

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

chef-wally avatar Oct 04 '23 21:10 chef-wally

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.

CDMcGwire avatar Dec 28 '23 21:12 CDMcGwire