ControllerInterface: DInput: Update force feedback effects in a thread. This should prevent slowdowns experienced by a handful of users.

This commit is contained in:
Jordan Woyak
2018-12-22 17:49:03 -06:00
parent d5df56c677
commit 0f19c4a40f
5 changed files with 184 additions and 88 deletions

View File

@ -99,6 +99,8 @@ Joystick::Joystick(IOHIDDeviceRef device, std::string name)
Joystick::~Joystick()
{
DeInitForceFeedback();
if (m_ff_device)
m_ff_device->Release();
}