https://bugs.winehq.org/show_bug.cgi?id=50510
--- Comment #2 from lunarlambda@gmail.com --- (In reply to RĂ©mi Bernon from comment #1)
I suppose this is following https://bugs.winehq.org/show_bug.cgi?id=50506, and the gamepad is a Nintendo Switch Pro Controller?
Indeed. The HID reports are 16 bytes in size, which *seems* to be correct. However some bytes (relating to axis values) jump around wildly, far beyond what could be explained with drift (and again, it shows up perfectly normal in joy.cpl)
bytes 1, 3, 5 just seem to be noise bytes 2, 4, 6, and 8 change consistently with axis movement (X, Y, RX, RY) bytes 9 and 10 are left trigger (either 00 or FF 7F) bytes 11 and 12 are right trigger (same values as above) byte 13 is buttons (as bitflags, one button don't seem to show up though) byte 14 is hat axis value, 0x80 for cardinals, 1,2,3,4 for corners bytes 15 and 16 never change, 98 5C