---
name: "SDL_HINT_GAMECONTROLLERCONFIG"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_GAMECONTROLLERCONFIG"
---

# SDL\_HINT\_GAMECONTROLLERCONFIG(3)

A variable that lets you manually hint extra gamecontroller db entries.

## NAME

SDL\_HINT\_GAMECONTROLLERCONFIG - A variable that lets you manually hint extra gamecontroller db entries.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_GAMECONTROLLERCONFIG** *SDL\_GAMECONTROLLERCONFIG"*

## DESCRIPTION

The variable should be newline delimited rows of gamecontroller config data, see  **SDL\_gamepad** .h

You can update mappings after SDL is initialized with

**SDL\_GetGamepadMappingForGUID** () and

**SDL\_AddGamepadMapping** ()

This hint should be set before SDL is initialized.

## AVAILABILITY

This hint is available since SDL 3.2.0.
