mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-21 06:10:53 +00:00
Add back metadata reset change that was accidentally reverted
This commit is contained in:
committed by
Sam Lantinga
parent
fdc1143337
commit
591b584b27
@@ -2789,7 +2789,7 @@ static bool HIDAPI_DriverGIP_InitDevice(SDL_HIDAPI_Device *device)
|
||||
return false;
|
||||
}
|
||||
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);
|
||||
GIP_HandleQuirks(attachment);
|
||||
|
||||
Reference in New Issue
Block a user