XInputGetKeystroke function xinput

int XInputGetKeystroke(
  1. int dwUserIndex,
  2. int dwReserved,
  3. Pointer<XINPUT_KEYSTROKE> pKeystroke
)

Retrieves a gamepad input event.

DWORD XInputGetKeystroke(
  DWORD             dwUserIndex,
  DWORD             dwReserved,
  PXINPUT_KEYSTROKE pKeystroke
);

Implementation

int XInputGetKeystroke(int dwUserIndex, int dwReserved,
        Pointer<XINPUT_KEYSTROKE> pKeystroke) =>
    _XInputGetKeystroke(dwUserIndex, dwReserved, pKeystroke);