XInputSetState function xinput
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);