XInputEnable function xinput

void XInputEnable(
  1. bool enable
)

Sets the reporting state of XInput.

To learn more, see learn.microsoft.com/windows/win32/api/xinput/nf-xinput-xinputenable.

Implementation

@pragma('vm:prefer-inline')
void XInputEnable(bool enable) => _XInputEnable(enable ? TRUE : FALSE);