---
name: "SDL_HINT_GAMECONTROLLERCONFIG_FILE"
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_FILE"
---

# SDL\_HINT\_GAMECONTROLLERCONFIG\_FILE(3)

A variable that lets you provide a file with extra gamecontroller db entries.

## NAME

SDL\_HINT\_GAMECONTROLLERCONFIG\_FILE - A variable that lets you provide a file with extra gamecontroller db entries.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

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

## DESCRIPTION

The file should contain lines 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.
