table of contents
- experimental 3.3~git20250806+ds-1
SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA(3) | SDL3 FUNCTIONS | SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA(3) |
NAME¶
SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA - A variable controlling whether the new HIDAPI driver for wired Xbox One (GIP) controllers should reset the controller if it can't get the metadata from the controller.
SYNOPSIS¶
#include <SDL3/SDL_hints.h>
#define SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA "SDL_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA"
DESCRIPTION¶
The variable can be set to the following values:
• "0": Assume this is a generic controller.
• "1": Reset the controller to get metadata.
By default the controller is not reset.
This hint should be set before initializing joysticks and gamepads.
AVAILABILITY¶
This hint is available since SDL 3.4.0.
SDL 3.3.0 | Simple Directmedia Layer |