xinput1_3: Report SUCCESS from XInputSetState when FFB isn't available.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45992 Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
263f6ef201
commit
186d107e4d
|
@ -457,10 +457,9 @@ DWORD HID_set_state(xinput_controller* device, XINPUT_VIBRATION* state)
|
|||
return ERROR_SUCCESS;
|
||||
return GetLastError();
|
||||
}
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
return ERROR_NOT_SUPPORTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
void HID_enable(xinput_controller* device, BOOL enable)
|
||||
|
|
Loading…
Reference in New Issue