https://bugs.winehq.org/show_bug.cgi?id=45688
--- Comment #1 from Vincent Povirk madewokherd@gmail.com --- xinput controls can be accessed through dinput on Windows, but not all controllers support xinput.
MS has published sample code which uses WMI to test whether a dinput controller supports xinput, and ignore it if so: https://docs.microsoft.com/en-us/windows/desktop/xinput/xinput-and-directinp...
I don't think that approach works correctly on Wine.