Browse Source

Enable HIDAPI controller support on mobile platforms

Sam Lantinga 10 months ago
parent
commit
3a68febedf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/testcontroller.c

+ 1 - 0
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");