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

# GameInputRacingWheelState

> GameInputRacingWheelState

Describes the state of a racing wheel.

## Syntax

```cpp theme={null}
struct GameInputRacingWheelState
{
    GameInputRacingWheelButtons buttons;
    int32_t                     patternShifterGear;
    float                       wheel;
    float                       throttle;
    float                       brake;
    float                       clutch;
    float                       handbrake;
};
```

### Members

*buttons*\

Type: [GameInputRacingWheelButtons](https://docs.xbox.com/reference/input/gameinput/enums/gameinputracingwheelbuttons.md)

State of the buttons on a racing wheel.

*patternShifterGear*\

Type: int32\_t

Current gear selected on the pattern shifter.

*wheel*\

Type: float

Position of the wheel, normalized as a value in the range \[-1.0, 1.0].

*throttle*\

Type: float

Position of the throttle, normalized as a value in the range \[0.0, 1.0].

*brake*\

Type: float

Position of the brake, normalized as a value in the range \[0.0, 1.0].

*clutch*\

Type: float

Position of the clutch, normalized as a value in the range \[0.0, 1.0].

*handbrake*\

Type: float

Position of the handbrake, normalized as a value in the range \[0.0, 1.0].

## Remarks

This structure is used by the [IGameInputReading::GetRacingWheelState](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getracingwheelstate.md) method.

To determine whether a racing wheel has a clutch, handbrake, or pattern shifter, examine the [GameInputRacingWheelInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputracingwheelinfo.md) structure.

For more information, see [GameInput readings](https://docs.xbox.com/build/core-features/common/input/overviews/input-readings.md).

## Requirements

**Header:** GameInput.h

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

## See also

[Overview of GameInput](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\
[GameInput](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)

## Version History

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


## Related topics

- [GetRacingWheelState](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getracingwheelstate.md)
- [GameInputRacingWheelButtons](https://docs.xbox.com/reference/input/gameinput/enums/gameinputracingwheelbuttons.md)
- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [GameInputRacingWheelAxes](https://docs.xbox.com/reference/input/gameinput/enums/gameinputracingwheelaxes.md)
- [GameInputRacingWheelInfo](https://docs.xbox.com/reference/input/gameinput/structs/gameinputracingwheelinfo.md)
