From f903a39e13b09733ea4438d937ec8dc23419248f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 27 Nov 2021 10:18:41 -0600 Subject: [PATCH] haptic: Fix SDL_MouseIsHaptic() always returning SDL_TRUE on Android --- src/haptic/android/SDL_syshaptic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haptic/android/SDL_syshaptic.c b/src/haptic/android/SDL_syshaptic.c index 6fafe6902..dd04bd2b6 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; }