> ## 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.

# IGameInputMapper::GetArcadeStickButtonMappingInfo

> IGameInputMapper::GetArcadeStickButtonMappingInfo

# IGameInputMapper::GetArcadeStickButtonMappingInfo

## Syntax

```cpp theme={null}
bool GetArcadeStickButtonMappingInfo(
    GameInputArcadeStickButtons buttonElement,
    GameInputButtonMapping* mapping
);
```

### Parameters

*buttonElement*   \_In\_\
Type: [GameInputArcadeStickButtons](/reference/input/gameinput/enums/gameinputarcadestickbuttons)

The specific arcade stick button whose mapping is being queried.

*mapping*   \_Out\_\
type: [GameInputButtonMapping](/reference/input/gameinput/structs/gameinputbuttonmapping)

The mapping information of how the button is mapped from the controller axes, buttons or switches.

### Return value

Type: bool

If the mapping was successfully retrieved. This value is false if the device does not support the [GameInputKindArcadeStick](/reference/input/gameinput/enums/gameinputkind) input kind or if the specified button element is not supported by the device.

## Requirements

**Header:** GameInput.h

**Library:** gameinput.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[Input API Overview](/build/core-features/common/input/overviews/input-overview)<br />
[IGameInputMapper](/reference/input/gameinput/interfaces/igameinputmapper/igameinputmapper)

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v3**  | Introduced. |


## Related topics

- [GameInputArcadeStickButtons](/reference/input/gameinput/enums/gameinputarcadestickbuttons.md)
- [IGameInputMapper::GetFlightStickButtonMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getflightstickbuttonmappinginfo.md)
- [IGameInputMapper::GetFlightStickAxisMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getflightstickaxismappinginfo.md)
- [IGameInputMapper::GetRacingWheelButtonMappingInfo](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getracingwheelbuttonmappinginfo.md)
- [IGameInputMapper::GetGamepadButtonMapping](/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getgamepadbuttonmappinginfo.md)
