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

# GameInputRacingWheelState

> GameInputRacingWheelState

# GameInputRacingWheelState

Describes the state of a racing wheel.

<a id="syntaxSection" />

## Syntax

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

<a id="membersSection" />

### Members

*buttons*<br />
Type: [GameInputRacingWheelButtons](/reference/input/gameinput/enums/gameinputracingwheelbuttons)

State of the buttons on a racing wheel.

*patternShifterGear*<br />
Type: int32\_t

Current gear selected on the pattern shifter.

*wheel*<br />
Type: float

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

*throttle*<br />
Type: float

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

*brake*<br />
Type: float

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

*clutch*<br />
Type: float

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

*handbrake*<br />
Type: float

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

<a id="remarksSection" />

## Remarks

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

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

For more information, see [GameInput readings](/build/core-features/common/input/overviews/input-readings).

<a id="requirementsSection" />

## Requirements

**Header:** GameInput.h

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

<a id="seealsoSection" />

## See also

[Overview of GameInput](/build/core-features/common/input/overviews/input-overview)\
[GameInput](/reference/input/gameinput/gameinput_members)

## Version History

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


## Related topics

- [IGameInputReading::GetRacingWheelState](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getracingwheelstate.md)
- [GameInputRacingWheelButtons](/reference/input/gameinput/enums/gameinputracingwheelbuttons.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputRacingWheelAxes](/reference/input/gameinput/enums/gameinputracingwheelaxes.md)
- [GameInputRacingWheelInfo](/reference/input/gameinput/structs/gameinputracingwheelinfo.md)
