7 Jun
2022
7 Jun
'22
11:09 a.m.
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