Implement SDL_HapticStopEffect on Android (thanks Rachel!)

This commit is contained in:
Sam Lantinga committed 2018-08-24 10:41:57 -07:00
1 parent a794126d56
commit 09ab752aa3
4 files changed
+26 -1

No files matched your search

+1
View File
@@ -238,6 +238,7 @@ SDL_SYS_HapticRunEffect(SDL_Haptic * haptic, struct haptic_effect *effect,
int
SDL_SYS_HapticStopEffect(SDL_Haptic * haptic, struct haptic_effect *effect)
{
Android_JNI_HapticStop (((SDL_hapticlist_item *)haptic->hwdata)->device_id);
return 0;
}