microsoft / GDK

Microsoft Public GDK
http://aka.ms/gamedevdocs
Other
1.48k stars 99 forks source link

deviceId and deviceRootId returning the same hash value #42

Open phantomsixthplayer opened 9 months ago

phantomsixthplayer commented 9 months ago

The deviceId and deviceRootId are returning the same hash value.

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

phantomsixthplayer commented 8 months ago

I believe this is working as intended for controller devices.

GameInputDeviceInfo - Remarks "The deviceId and deviceRootId are the same if the device is not one of many interfaces on a composite device."