On Fri Apr 4 20:22:39 2025 +0000, Paul Gofman wrote:
Fixes MySims Kingdom not working with controllers. WRT the last patch, we don't set any properties for devicee interfaces currently. I could not find device id in the properties subkeys for device interfaces on Windows (as well as any properties, actually, across a few interfaces I checked). So I guess even we will be adding properties for device interfaces device instance id will be treated as a special case anyway. DEVPKEY_Device_InstanceId is the only property which this specific game queries with CM_Get_Device_Interface_PropertyW(), so I don't have a real world example of any other been used.
They probably use "hidapi" to communicate with hid devices: https://github.com/libusb/hidapi/blob/8c9cbf6c020974d23e4690497778f3df173d11...
The Simucube Tuner app, which is used to control Simucube 2 FFB wheel bases, is also affected by this. Seems the usblib devs have switched from setupapi to cfgmgr32 in the recent years, and now this is starting to appear in games/apps. Looks like only CM_Get_Parent remains to be implemented.
BTW, Steam shows a similar usage pattern of these apis in the logs, so it probably uses hidapi as well.