[PATCH 0/1] MR181: winebus: Optionally split joysticks with more than 6 axes.
Rémi Bernon (@rbernon)
wine at gitlab.winehq.org
Tue Jun 7 11:09:29 CDT 2022
Rémi Bernon (@rbernon) commented about dlls/winebus.sys/bus_sdl.c:
> USAGE usages[16];
>
> if (!pSDL_JoystickIsHaptic(impl->sdl_joystick) ||
> - !(impl->sdl_haptic = pSDL_HapticOpenFromJoystick(impl->sdl_joystick)))
> + !(impl->sdl_haptic = pSDL_HapticOpenFromJoystick(impl->sdl_joystick)) ||
> + impl->axis_offset > 0)
I thknk it would be better with the `!impl->axis_offset ||` condition first.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/181#note_1643
More information about the wine-devel
mailing list