XInputGetState function xinput
Retrieves the current state of the specified controller.
To learn more, see learn.microsoft.com/windows/win32/api/xinput/nf-xinput-xinputgetstate.
Implementation
@pragma('vm:prefer-inline')
int XInputGetState(int dwUserIndex, Pointer<XINPUT_STATE> pState) =>
_XInputGetState(dwUserIndex, pState);