https://bugs.winehq.org/show_bug.cgi?id=56195
Bug ID: 56195 Summary: Device name inconsistent casing between GetRawInputDeviceInfo and PnP Product: Wine Version: 9.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: pnpmgr Assignee: wine-bugs@winehq.org Reporter: nick@windblume.net Distribution: ---
Created attachment 75905 --> https://bugs.winehq.org/attachment.cgi?id=75905 Sample application with bug
(Fedora 39, wine 9.0-rc5 from official rpm repo)
This seems to affect hotplug detection in some games, where the program is keying on the device name to manage the joystick/joypad devices.
I have attached a sample application exhibiting the behaviour. To test, have e.g. a DualSense controller attached, then reconnect it. It is then clear that the hash returned initially is upper case, whilst the name in the DEV_BROADCAST_DEVICEINTERFACE struct later is lower case.
On Windows 10, the two strings end up to be the same.