Implement SDL_HapticStopEffect on Android (thanks Rachel!)

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

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;
}