aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/linux/src/native/jinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/linux/src/native/jinput.cpp')
-rw-r--r--plugins/linux/src/native/jinput.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/linux/src/native/jinput.cpp b/plugins/linux/src/native/jinput.cpp
index 769415a..2b8128f 100644
--- a/plugins/linux/src/native/jinput.cpp
+++ b/plugins/linux/src/native/jinput.cpp
@@ -387,3 +387,13 @@ JNIEXPORT void JNICALL Java_net_java_games_input_LinuxDeviceRumbler_nativeRumble
(JNIEnv *, jobject, jint deviceID, jfloat force) {
jinputDeviceList[deviceID]->rumble(force);
}
+
+/*
+ * Class: net_java_games_input_LinuxRumblerDevice
+ * Method: nativeCleanup
+ * Signature: (I)V
+ */
+JNIEXPORT void JNICALL Java_net_java_games_input_LinuxDeviceRumbler_nativeCleanup
+ (JNIEnv *, jobject, jint deviceID) {
+ jinputDeviceList[deviceID]->cleanup();
+}