> ## 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>**Deprecated.** This structure was removed in GameInput v3 and is not available in the current API. This information is now provided within [GameInputControllerInfo](/reference/input/gameinput/structs/gameinputcontrollerinfo).</Warning>

Describes an individual button on a generic controller device.

## Syntax

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

## Members

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

A label identifying the button's function.

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

The physical location of the button on the device.

**locationId**\
Type: uint32\_t

An identifier distinguishing buttons at the same location.

## Version History

| Version | Changes                                                                                                                |
| ------- | ---------------------------------------------------------------------------------------------------------------------- |
| **v3**  | Removed. Fields integrated into [GameInputControllerInfo](/reference/input/gameinput/structs/gameinputcontrollerinfo). |
| **v2**  | No changes.                                                                                                            |
| **v1**  | No changes.                                                                                                            |
| **v0**  | Introduced.                                                                                                            |

## See also

[Deprecated GameInput API members](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputControllerInfo](/reference/input/gameinput/structs/gameinputcontrollerinfo)


## Related topics

- [GameInputControllerInfo](/reference/input/gameinput/structs/gameinputcontrollerinfo.md)
- [GameInputLocation](/reference/input/gameinput/deprecated/enums/gameinputlocation.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [Deprecated GameInput API members](/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [IGameInputMapper::GetRacingWheelButtonMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getracingwheelbuttonmappinginfo.md)
