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

Retrieve a view of the input reading that describes the state of a racing wheel.

## Syntax

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

### Parameters

*state*   \_Out\_\
Type: [GameInputRacingWheelState\*](https://docs.xbox.com/reference/input/gameinput/structs/gameinputracingwheelstate.md)

Interpretation of the input as a racing wheel.

### Return value

Type: bool

Returns true on successful interpretation of a racing wheel input. Returns false when attempting to read an input that is not recognized as a racing wheel input.

[Input API Overview](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputReading](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputreading/igameinputreading.md)

## Version History

| Version | Changes |
| - | - |
| **v0** | Introduced. |


## Related topics

- [GameInputRacingWheelState](https://docs.xbox.com/reference/input/gameinput/structs/gameinputracingwheelstate.md)
- [IGameInputReading (Interface contents)](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputreading/igameinputreading.md)
- [GetRacingWheelAxisMappingInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getracingwheelaxismappinginfo.md)
- [GetRacingWheelButtonMappingInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputmapper/methods/igameinputmapper_getracingwheelbuttonmappinginfo.md)
- [GameInputRacingWheelButtons](https://docs.xbox.com/reference/input/gameinput/enums/gameinputracingwheelbuttons.md)
