On Thu Dec 18 10:04:54 2025 +0000, Tomasz Pakuła wrote:
Simple. As much as it doesn't make much difference, signed values should be used for axes that have a defined center (like steering wheel_ and unsigned values should be used for axes without a center (like pedals). God only knows why Moza for example has this flipped and steering range is 0-65535 but all other axes (including pedals) are defined as -32768:32767. This actually creates a a bit of a deadzone in the middle of the pedal stroke on linux if fuzz/flat values aren't corrected. As much as it doesn't matter for the SDL bus since it always normalizes values, it would still matter with udev bus. Currently, an axis with a range of 0-65536 created from a device on the udev bus will be classified as 32 bit instead of 16 bit.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9789#note_125804