XInputGetState function xinput
Retrieves the current state of the specified controller.
DWORD XInputGetState(
[in] DWORD dwUserIndex,
[out] XINPUT_STATE *pState
);
Implementation
int XInputGetState(int dwUserIndex, Pointer<XINPUT_STATE> pState) =>
_XInputGetState(dwUserIndex, pState);