Commit 2e71742d authored by Andrew Fenn's avatar Andrew Fenn Committed by Alexandre Julliard

xinput1_3: Added stub XInputSetState.

parent 954820d0
@ stdcall XInputEnable(long)
@ stub XInputSetState #(long ptr)
@ stdcall XInputSetState(long ptr)
@ stdcall XInputGetState(long ptr)
@ stub XInputGetKeystroke #(long long ptr)
@ stdcall XInputGetCapabilities(long long ptr)
......
......@@ -55,6 +55,18 @@ void WINAPI XInputEnable(BOOL enable)
FIXME("(%d) Stub!\n", enable);
}
DWORD WINAPI XInputSetState(DWORD dwUserIndex, XINPUT_VIBRATION* pVibration)
{
FIXME("(%d %p) Stub!\n", dwUserIndex, pVibration);
if (dwUserIndex < XUSER_MAX_COUNT)
{
return ERROR_DEVICE_NOT_CONNECTED;
/* If controller exists then return ERROR_SUCCESS */
}
return ERROR_BAD_ARGUMENTS;
}
DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
{
FIXME("(%u %p)\n", dwUserIndex, pState);
......
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