https://bugs.winehq.org/show_bug.cgi?id=45882
--- Comment #7 from Ryan Rohrer ryan.rohrer@gmail.com --- (In reply to Zebediah Figura from comment #6)
Okay, I think that makes sense.
I don't think we want to go through libSDL2 for this, though I could be wrong. In any case, though, assuming that I am correctly reading what little X11 documentation there is, I think it would be relatively easy to get the right values from XInput2.
With my limited knowledge of the input stack in wine + XInput2 it seems like that would be the case. At the very least XInput claims to offer raw input.
I was reading the code to try to pinpoint what needed to be changed but ran out of time :'D