xinput1_3: Avoid spamming FIXME for XInputGetKeystroke.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Bruno Jesus <00cpxxx@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
43b0dce203
commit
8936a841f5
@ -112,7 +112,10 @@ DWORD WINAPI DECLSPEC_HOTPATCH XInputGetStateEx(DWORD index, XINPUT_STATE_EX* st
|
|||||||
|
|
||||||
DWORD WINAPI XInputGetKeystroke(DWORD index, DWORD reserved, PXINPUT_KEYSTROKE keystroke)
|
DWORD WINAPI XInputGetKeystroke(DWORD index, DWORD reserved, PXINPUT_KEYSTROKE keystroke)
|
||||||
{
|
{
|
||||||
FIXME("(index %u, reserved %u, keystroke %p) Stub!\n", index, reserved, keystroke);
|
static int warn_once;
|
||||||
|
|
||||||
|
if (!warn_once++)
|
||||||
|
FIXME("(index %u, reserved %u, keystroke %p) Stub!\n", index, reserved, keystroke);
|
||||||
|
|
||||||
if (index >= XUSER_MAX_COUNT)
|
if (index >= XUSER_MAX_COUNT)
|
||||||
return ERROR_BAD_ARGUMENTS;
|
return ERROR_BAD_ARGUMENTS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user