xinput: Added stub for XInputEnable.

oldstable
Andrew Fenn 2008-12-29 01:01:24 +07:00 committed by Alexandre Julliard
parent 7a09033ce6
commit cdced5b850
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
@ stub XInputEnable #(long)
@ stdcall XInputEnable(long)
@ stub XInputSetState #(long ptr)
@ stdcall XInputGetState(long ptr)
@ stub XInputGetKeystroke #(long long ptr)

View File

@ -46,6 +46,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
return TRUE;
}
void WINAPI XInputEnable(BOOL enable)
{
/* Setting to false will stop messages from XInputSetState being sent
to the controllers. Setting to true will send the last vibration
value (sent to XInputSetState) to the controller and allow messages to
be sent */
FIXME("(%d) Stub!\n", enable);
}
DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
{
FIXME("(%u %p)\n", dwUserIndex, pState);