SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

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.

Header File

Defined in <SDL3/SDL_hints.h>

Syntax

#define SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA "SDL_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA"

Remarks

The variable can be set to the following values:

By default the controller is not reset.

This hint should be set before initializing joysticks and gamepads.

Version

This hint is available since SDL 3.4.0.


CategoryAPI, CategoryAPIMacro, CategoryHints


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.