aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/linux/src/native/JoystickDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/linux/src/native/JoystickDevice.cpp')
-rw-r--r--plugins/linux/src/native/JoystickDevice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/linux/src/native/JoystickDevice.cpp b/plugins/linux/src/native/JoystickDevice.cpp
index 5adab3e..59d69eb 100644
--- a/plugins/linux/src/native/JoystickDevice.cpp
+++ b/plugins/linux/src/native/JoystickDevice.cpp
@@ -194,3 +194,7 @@ bool JoystickDevice::getFFEnabled() {
void JoystickDevice::rumble(float force) {
return;
}
+
+void JoystickDevice::cleanup() {
+ close(fd);
+}