Alexandre Julliard pushed to branch master at wine / wine
Commits: 376370ec by Tyson Whitehead at 2025-09-01T20:41:35+02:00 winebus: Unspecified condition blocks are full strength.
Under Windows and the PID specification it is possible to specify less than the full set of condition blocks. Under SDL and the Linux FF input API all condition blocks must always be specified.
This sets unspecified axes in the SDL and input backends to play at full strength to agree with Windows and hidraw.
- - - - - 4a16b5e3 by Tyson Whitehead at 2025-09-01T20:41:35+02:00 joy.cpl: Play condition effects on indicated axis too.
Testing with a MS Sidewinde 2 under Windows reveals that playing a codition effect on just one axis can only be done by explicitly setting the other axes to a zero strength as unspecified axes run at full strength and not no strength as might be expected.
The choosen axis must also be the Y axis in order for the result of the rotation to agree with what happens with non-condition effects. This is because the the -Y axis is the reference axis for the direction (i.e., no rotation plays back on the Y axis).
- - - - -
3 changed files:
- dlls/joy.cpl/dinput.c - dlls/winebus.sys/bus_sdl.c - dlls/winebus.sys/bus_udev.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/5d850302149c7eca65f5c768513b4f...