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:
Beren Minor 2018-11-14 05:34:59 +00:00 committed by Alexandre Julliard
parent 263f6ef201
commit 186d107e4d
1 changed files with 1 additions and 2 deletions

View File

@ -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)