https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #5 from imbert.jacquesolivier@gmail.com --- I can confirm that the issue / culprit of the regression comes from hid dll code.
Using the command "wintricks hid" permits to launch the game with a gamepad connected on my computer but the gamepad IS NOT detected by Sonic Mania : I have this message on the console "Total HID GamePad Count: 0"