SDL: Enable HIDAPI controller support on mobile platforms

From 3a68febedf7be3d83ee3259a738588070bfb5b15 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 17 Jun 2024 15:05:12 -0700
Subject: [PATCH] Enable HIDAPI controller support on mobile platforms

---
 test/testcontroller.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/testcontroller.c b/test/testcontroller.c
index 2771d0677b1bb..69a92940e6560 100644
--- a/test/testcontroller.c
+++ b/test/testcontroller.c
@@ -1998,6 +1998,7 @@ int main(int argc, char *argv[])
         return 1;
     }
 
+    SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI, "1");
     SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
     SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1");
     SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_STEAM, "1");