On Fri Aug 1 00:08:49 2025 +0000, Tomasz Pakuła wrote:
I'll have to test again. Maybe they are actually chcecking if a device even supports autocenter and only disable it it if the support is there. Hard to say without having another device to test with.
After https://gitlab.winehq.org/wine/wine/-/merge_requests/8686 there's support for enabling hidraw for specific VID/PID directly in the registry (see `...\WineBus\Devices<VID/PID>\HidRaw` documentation in https://wiki.winehq.org/Useful_Registry_Keys).
This can now be used to configure prefixes to use hidraw for the Sidewinder joystick. (Note that this also probably need some udev rules as well if hidraw is not enabled by default, but that's outside of Wine scope)
Note that I have also created https://gitlab.winehq.org/wine/wine/-/merge_requests/8721 which would allow these options to be set through a new environment variable. I think it is useful but I'm not yet sure whether @julliard will like to have a new public environment variable.
With this I think we can now have this MR merged, and leave autocenter handling decision to each device Linux driver.