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

# IGameInputReading::GetArcadeStickState

> IGameInputReading::GetArcadeStickState

# IGameInputReading::GetArcadeStickState

检索一个输入读取视图，用于描述街机摇杆的状态。

## 语法

```cpp theme={null}
bool GetArcadeStickState(
    GameInputArcadeStickState* state
)
```

### 参数

*state*   \_Out\_\
类型:[GameInputArcadeStickState\*](/reference/input/gameinput/structs/gameinputarcadestickstate)

将输入解释为街机摇杆输入。

### 返回值

类型:bool

成功将输入解释为街机摇杆时返回 true。尝试读取无法识别为街机摇杆的输入时返回 false。

[Input API 概述](/build/core-features/common/input/overviews/input-overview)\
[IGameInputReading](/reference/input/gameinput/interfaces/igameinputreading/igameinputreading)

## 版本历史

| 版本     | 变更  |
| ------ | --- |
| **v0** | 引入。 |


## Related topics

- [IGameInputReading::GetFlightStickState](/zh-CN/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getflightstickstate.md)
- [IGameInputReading::GetGamepadState](/zh-CN/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getgamepadstate.md)
- [IGameInputReading::GetKeyState](/zh-CN/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getkeystate.md)
- [IGameInputReading::GetMouseState](/zh-CN/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getmousestate.md)
- [IGameInputReading::GetMotionState](/zh-CN/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
