XInputSetState function xinput

int XInputSetState(
  1. int dwUserIndex,
  2. Pointer<XINPUT_VIBRATION> pVibration
)

Sends data to a connected controller. This function is used to activate the vibration function of a controller.

DWORD XInputSetState(
  [in]      DWORD            dwUserIndex,
  [in, out] XINPUT_VIBRATION *pVibration
);

Implementation

int XInputSetState(int dwUserIndex, Pointer<XINPUT_VIBRATION> pVibration) =>
    _XInputSetState(dwUserIndex, pVibration);