Module: wine Branch: master Commit: 186d107e4d586860008e2ac5fb1e2ebdbce06145 URL: https://source.winehq.org/git/wine.git/?a=commit;h=186d107e4d586860008e2ac5f...
Author: Beren Minor beren.minor+git@gmail.com Date: Wed Nov 14 05:34:59 2018 +0000
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
---
dlls/xinput1_3/hid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/xinput1_3/hid.c b/dlls/xinput1_3/hid.c index 8a35443..d7e2248 100644 --- a/dlls/xinput1_3/hid.c +++ b/dlls/xinput1_3/hid.c @@ -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)