Browse Source

Add back metadata reset change that was accidentally reverted

Sanjay Govind 1 month ago
parent
commit
591b584b27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/joystick/hidapi/SDL_hidapi_gip.c

+ 1 - 1
src/joystick/hidapi/SDL_hidapi_gip.c

@@ -2789,7 +2789,7 @@ static bool HIDAPI_DriverGIP_InitDevice(SDL_HIDAPI_Device *device)
         return false;
         return false;
     }
     }
     ctx->device = device;
     ctx->device = device;
-    ctx->reset_for_metadata = SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA, false);
+    ctx->reset_for_metadata = SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA, true);
 
 
     attachment = GIP_EnsureAttachment(ctx, 0);
     attachment = GIP_EnsureAttachment(ctx, 0);
     GIP_HandleQuirks(attachment);
     GIP_HandleQuirks(attachment);