Commit ac3e24c5 authored by Andrew Fenn's avatar Andrew Fenn Committed by Alexandre Julliard

xinput1_3: Added stub code for XInputGetKeystroke.

parent 3ad7f772
@ stdcall XInputEnable(long) @ stdcall XInputEnable(long)
@ stdcall XInputSetState(long ptr) @ stdcall XInputSetState(long ptr)
@ stdcall XInputGetState(long ptr) @ stdcall XInputGetState(long ptr)
@ stub XInputGetKeystroke #(long long ptr) @ stdcall XInputGetKeystroke(long long ptr)
@ stdcall XInputGetCapabilities(long long ptr) @ stdcall XInputGetCapabilities(long long ptr)
@ stub XInputGetDSoundAudioDeviceGuids #(long ptr ptr) @ stub XInputGetDSoundAudioDeviceGuids #(long ptr ptr)
@ stub XInputGetBatteryInformation @ stub XInputGetBatteryInformation
...@@ -79,6 +79,18 @@ DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState) ...@@ -79,6 +79,18 @@ DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
return ERROR_BAD_ARGUMENTS; return ERROR_BAD_ARGUMENTS;
} }
DWORD WINAPI XInputGetKeystroke(DWORD dwUserIndex, DWORD dwReserve, PXINPUT_KEYSTROKE pKeystroke)
{
FIXME("(%d %d %p) Stub!\n", dwUserIndex, dwReserve, pKeystroke);
if (dwUserIndex < XUSER_MAX_COUNT)
{
return ERROR_DEVICE_NOT_CONNECTED;
/* If controller exists then return ERROR_SUCCESS */
}
return ERROR_BAD_ARGUMENTS;
}
DWORD WINAPI XInputGetCapabilities(DWORD dwUserIndex, DWORD dwFlags, XINPUT_CAPABILITIES* pCapabilities) DWORD WINAPI XInputGetCapabilities(DWORD dwUserIndex, DWORD dwFlags, XINPUT_CAPABILITIES* pCapabilities)
{ {
FIXME("(%d %d %p)\n", dwUserIndex, dwFlags, pCapabilities); FIXME("(%d %d %p)\n", dwUserIndex, dwFlags, pCapabilities);
......
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