summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/OSX
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2019-01-05 17:16:35 -0500
committerGitHub <noreply@github.com>2019-01-05 17:16:35 -0500
commit0ca9accd8b9f92a2f6e4fa600136a9e51f543b5f (patch)
treeeb2f8eb6eeb0c05f52515578704ba809a08442d0 /Source/Core/InputCommon/ControllerInterface/OSX
parentd75e9b2d5d6e8075edad15da00cb10e32996890f (diff)
parenta995e2f5ba3bb55b4245675428bbdc3d34cb7355 (diff)
Merge pull request #7640 from jordan-woyak/input-fixes
ControllerInterface: Output/Rumble fixes
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/OSX')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/OSX/OSXJoystick.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/OSX/OSXJoystick.mm b/Source/Core/InputCommon/ControllerInterface/OSX/OSXJoystick.mm
index ecbef721a5..bfe2f27505 100644
--- a/Source/Core/InputCommon/ControllerInterface/OSX/OSXJoystick.mm
+++ b/Source/Core/InputCommon/ControllerInterface/OSX/OSXJoystick.mm
@@ -99,6 +99,8 @@ Joystick::Joystick(IOHIDDeviceRef device, std::string name)
Joystick::~Joystick()
{
+ DeInitForceFeedback();
+
if (m_ff_device)
m_ff_device->Release();
}