https://bugs.winehq.org/show_bug.cgi?id=40658
--- Comment #19 from Paul geoff.pvgn1@gmail.com --- (In reply to RĂ©mi Bernon from comment #16)
Thanks, Wine is now using SDL library by default to access controllers and joysticks, so it's not possible to tell exactly which Linux subsystem it is using, but most likely evdev, if it is available.
If SDL support is disabled (through the registry) or not compiled in, Wine is using evdev directly instead.
Regarding the Y axis inversion, it would be awesome if you could provide a WINEDEBUG=+plugplay,+hid,+hidp,+hid_report,+dinput log, combined with the "evtest" output recorded at the same time, and pressing a few HAT switch direction.
Attachments uploaded per request. It also looks like the SDL devs are getting off their butts and fixing the calibration issues inherent in their code:
https://github.com/libsdl-org/SDL/issues/3781
Perhaps the js driver can finally be put to rest. Before now, it was the only one that would accept and reflect calibrations to correct the deadzones arbitrarily put in place.