Windows-only at first, since that's what I'm familiar with. See https://docs.microsoft.com/en-us/windows/win32/api/xinput/ns-xinput-xinput_vibration.