xinput: Added stub for XInputEnable.
This commit is contained in:
parent
7a09033ce6
commit
cdced5b850
|
@ -1,4 +1,4 @@
|
|||
@ stub XInputEnable #(long)
|
||||
@ stdcall XInputEnable(long)
|
||||
@ stub XInputSetState #(long ptr)
|
||||
@ stdcall XInputGetState(long ptr)
|
||||
@ stub XInputGetKeystroke #(long long ptr)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue