Axes should be set up as Relative rather than absolute?
The issue's description can be found at the wine bugzilla: https://bugs.winehq.org/show_bug.cgi?id=49163
Basically, when Wine added experimental support for absolute RawMotion events, certain games break when using this driver to move the mouse with a gamepad. The issue boils down to Wine believing the gamepad sends Absolute coordinate events rather than Relative ones (the Synaptics touchpad driver, for example, specifies itself as being a Relative device and doesn't has this issue).
If I modify xf86-input-joystick calls to InitValuatorAxisStruct() in jstk.c:jstkDeviceControlProc() to use "Relative" instead of "Absolute" in all three calls, the issue is resolved. So, the question is... is this the correct solution? Even though the joystick reports its axis data as an absolute value, the handling of axis and event generation (in jstk_axis.c) all call xf86PostMotionEvent() with the variable "is_absolute=0", meaning that all movement reported by the device should be interpreted as relative.
Thoughts?