> ## 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::GetRacingWheelState

> IGameInputReading::GetRacingWheelState

# IGameInputReading::GetRacingWheelState

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

## 语法

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

### 参数

*state*   \_Out\_\\
类型：[GameInputRacingWheelState\*](/reference/input/gameinput/structs/gameinputracingwheelstate)

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

### 返回值

类型：bool

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

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

## 版本历史

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


## Related topics

- [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)
- [IGameInputReading::GetTouchState](/zh-CN/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
