Ver Fonte

Temporarily disable GameSir driver

There are some issues that need response from GameSir before this can be enabled by default.
Sam Lantinga há 4 semanas atrás
pai
commit
273a093032
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      src/joystick/hidapi/SDL_hidapi_gamesir.c

+ 3 - 1
src/joystick/hidapi/SDL_hidapi_gamesir.c

@@ -110,7 +110,9 @@ static void HIDAPI_DriverGameSir_UnregisterHints(SDL_HintCallback callback, void
 
 static bool HIDAPI_DriverGameSir_IsEnabled(void)
 {
-    return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_GAMESIR, SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI, SDL_HIDAPI_DEFAULT));
+    // Temporarily disabled by default until response from GameSir
+    //return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_GAMESIR, SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI, SDL_HIDAPI_DEFAULT));
+    return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_GAMESIR, false);
 }