XInputGetState function xinput

int XInputGetState(
  1. int dwUserIndex,
  2. Pointer<XINPUT_STATE> pState
)

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);