Commit f903a39e13b09733ea4438d937ec8dc23419248f

Cameron Gutman 2021-11-27T10:18:41

haptic: Fix SDL_MouseIsHaptic() always returning SDL_TRUE on Android

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/haptic/android/SDL_syshaptic.c b/src/haptic/android/SDL_syshaptic.c
index 6fafe69..dd04bd2 100644
--- a/src/haptic/android/SDL_syshaptic.c
+++ b/src/haptic/android/SDL_syshaptic.c
@@ -155,7 +155,7 @@ SDL_SYS_HapticOpen(SDL_Haptic *haptic)
 int
 SDL_SYS_HapticMouse(void)
 {
-    return 0;
+    return -1;
 }