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

# GetRacingWheelState

> IGameInputReading::GetRacingWheelState

# IGameInputReading::GetRacingWheelState

检索一个描述赛车方向盘状态的输入读数视图。

## 语法

```cpp theme={null}
bool GetRacingWheelState(
    GameInputRacingWheelState* state
);
```

### 参数

*state*   \_Out\_\\
类型：[GameInputRacingWheelState\*](https://docs.xbox.com/zh-CN/reference/input/gameinput/structs/gameinputracingwheelstate.md)

将该输入解释为赛车方向盘的结果。

### 返回值

类型：bool

如果成功将输入解释为赛车方向盘输入，则返回 true。当尝试读取无法识别为赛车方向盘输入的输入时，返回 false。

[输入 API 概述](https://docs.xbox.com/zh-CN/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputReading](https://docs.xbox.com/zh-CN/reference/input/gameinput/interfaces/igameinputreading/igameinputreading.md)

## 版本历史

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


## Related topics

- [GameInputRacingWheelButtons](https://docs.xbox.com/zh-CN/reference/input/gameinput/enums/gameinputracingwheelbuttons.md)
- [Wheel](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-wheel.md)
- [GameInputLabel](https://docs.xbox.com/zh-CN/reference/input/gameinput/enums/gameinputlabel.md)
- [Inner Wheel](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-inner-wheel.md)
- [GameInput API 成员](https://docs.xbox.com/zh-CN/reference/input/gameinput/gameinput_members.md)
