https://bugs.winehq.org/show_bug.cgi?id=52062
--- Comment #4 from RĂ©mi Bernon rbernon@codeweavers.com --- Thanks, I upstreamed your patches and sent some more today to, I think, fully implement support of PID effect state reports and the corresponding status updates.
I also sent the SDL and evdev patches, although I believe SDL_HapticGetEffectStatus doesn't do anything on Linux at the moment.
The only remaining issue we know about, is then with hidraw backend (and maybe iohid but I know nothing about it), which may require actively polling for the input reports with HIDIOCGINPUT, instead of just reading them. We could perhaps do that in the same way as SDL is implemented, although it'd just be easier if the device were sending the input report on the interrupt channel and maybe we can consider that it should.