On Fri Nov 29 22:19:38 2024 +0000, Rémi Bernon wrote:
I pushed some reworked tests there: https://gitlab.winehq.org/rbernon/wine/-/commits/mr/dinput-test-ids, the ID cache is in the registry. Removing the key resets the cache and makes it work every time. There was some registry cleanup already, but it was only removing the VID/PID used in every test, and assumed there was only going to be one.
If we want to test what happens with multiple joysticks with the same VID/PID the test driver would need to be fixed first, I believe it uses VID/PID to uniquely identify devices and I've had VM crashes when trying duplicate devices.