Commit 186d107e authored by Beren Minor's avatar Beren Minor Committed by Alexandre Julliard

xinput1_3: Report SUCCESS from XInputSetState when FFB isn't available.

parent 263f6ef2
...@@ -457,10 +457,9 @@ DWORD HID_set_state(xinput_controller* device, XINPUT_VIBRATION* state) ...@@ -457,10 +457,9 @@ DWORD HID_set_state(xinput_controller* device, XINPUT_VIBRATION* state)
return ERROR_SUCCESS; return ERROR_SUCCESS;
return GetLastError(); return GetLastError();
} }
return ERROR_SUCCESS;
} }
return ERROR_NOT_SUPPORTED; return ERROR_SUCCESS;
} }
void HID_enable(xinput_controller* device, BOOL enable) void HID_enable(xinput_controller* device, BOOL enable)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment