https://bugs.winehq.org/show_bug.cgi?id=51873
--- Comment #20 from Ivo Ivanov logos128@gmail.com --- Created attachment 71044 --> https://bugs.winehq.org/attachment.cgi?id=71044 dinput-additions-and-fixes.patch
Rebased the remaining patches to the current master be0684dad50ffbc93b3ded4fbfebf1d1e4690589
Slightly reworked the patch for sending only the modified reports. Added modified_envelope instead of modified_type_specific[1], etc. Also it should now pass the current dinput conformance tests. It still includes the checks for the modified values, with the exception of duration, which will set the modified_effect_update flag every time it is different from INFINITE. If you decide to make it fully compliant to the MS PID driver, then probably can set the three modified flags in accordance to the flags operand in SetParameters.