> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputControllerButtonInfo

> GameInputControllerButtonInfo

# GameInputControllerButtonInfo

<Warning>**Déconseillé.** Cette structure a été supprimée dans GameInput v3 et n'est pas disponible dans l'API actuelle. Ces informations sont désormais fournies dans [GameInputControllerInfo](/fr-CA/reference/input/gameinput/structs/gameinputcontrollerinfo).</Warning>

Décrit un bouton individuel d'une manette générique.

## Syntaxe

```cpp theme={null}
typedef struct GameInputControllerButtonInfo {
    GameInputLabel label;
    GameInputLocation location;
    uint32_t locationId;
} GameInputControllerButtonInfo;
```

## Membres

**label**\
Type : [GameInputLabel](/fr-CA/reference/input/gameinput/enums/gameinputlabel)

Une étiquette identifiant la fonction du bouton.

**location**\
Type : [GameInputLocation](/fr-CA/reference/input/gameinput/deprecated/enums/gameinputlocation)

L'emplacement physique du bouton sur le périphérique.

**locationId**\
Type : uint32\_t

Un identificateur permettant de distinguer les boutons situés au même emplacement.

## Historique des versions

| Version | Modifications |
| - | - |
| **v3** | Supprimé. Champs intégrés dans [GameInputControllerInfo](/fr-CA/reference/input/gameinput/structs/gameinputcontrollerinfo). |
| **v2** | Aucune modification. |
| **v1** | Aucune modification. |
| **v0** | Introduit. |

## Voir aussi

[Membres déconseillés de l'API GameInput](/fr-CA/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputControllerInfo](/fr-CA/reference/input/gameinput/structs/gameinputcontrollerinfo)


## Related topics

- [GameInputControllerInfo](/fr-CA/reference/input/gameinput/structs/gameinputcontrollerinfo.md)
- [GameInputLocation](/fr-CA/reference/input/gameinput/deprecated/enums/gameinputlocation.md)
- [GameInput](/fr-CA/reference/input/gameinput/gameinput_members.md)
- [Membres déconseillés de l'API GameInput](/fr-CA/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [IGameInputReading::GetControllerButtonState](/fr-CA/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getcontrollerbuttonstate.md)
