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

# GameInputControllerButtonInfo (Deprecated)

> 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](https://docs.xbox.com/reference/input/gameinput/structs/gameinputcontrollerinfo.md).

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](https://docs.xbox.com/reference/input/gameinput/enums/gameinputlabel.md)

A label identifying the button's function.

**location**\
Type: [GameInputLocation](https://docs.xbox.com/reference/input/gameinput/deprecated/enums/gameinputlocation.md)

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](https://docs.xbox.com/reference/input/gameinput/structs/gameinputcontrollerinfo.md). |
| **v2** | No changes. |
| **v1** | No changes. |
| **v0** | Introduced. |

## See also

[Deprecated GameInput API members](https://docs.xbox.com/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputControllerInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputcontrollerinfo.md)


## Related topics

- [GameInputControllerInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputcontrollerinfo.md)
- [GameInputControllerAxisInfo (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputcontrolleraxisinfo.md)
- [GameInputUiNavigationInfo (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputuinavigationinfo.md)
- [GameInputUiNavigationButtons (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/enums/gameinputuinavigationbuttons.md)
- [GameInputGuidButtonCallback (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/functions/gameinputguidebuttoncallback.md)
