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

# GameInputRacingWheelInfo

> GameInputRacingWheelInfo

# GameInputRacingWheelInfo

Describes the properties of a racing wheel.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
struct GameInputRacingWheelInfo
{
    GameInputLabel menuButtonLabel;
    GameInputLabel viewButtonLabel;
    GameInputLabel previousGearButtonLabel;
    GameInputLabel nextGearButtonLabel;
    GameInputLabel dpadUpLabel;
    GameInputLabel dpadDownLabel;
    GameInputLabel dpadLeftLabel;
    GameInputLabel dpadRightLabel;
    GameInputLabel aButtonLabel;
    GameInputLabel bButtonLabel;
    GameInputLabel xButtonLabel;
    GameInputLabel yButtonLabel;
    GameInputLabel leftShoulderButtonLabel;
    GameInputLabel rightShoulderButtonLabel;
    GameInputLabel leftThumbstickButtonLabel;
    GameInputLabel rightThumbstickButtonLabel;
    bool           hasClutch;
    bool           hasHandbrake;
    bool           hasPatternShifter;
    int32_t        minPatternShifterGear;
    int32_t        maxPatternShifterGear;
    float          maxWheelAngle;
    uint32_t       extraButtonCount;
    uint32_t       extraAxisCount;
};
```

<a id="membersSection" />

### Members

*menuButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for Menu button.

*viewButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for View button.

*previousGearButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for previous-gear selector (button).

*nextGearButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for next-gear selector (button).

*dpadUpLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for D-pad up.

*dpadDownLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for D-pad down.

*dpadLeftLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for D-pad left.

*dpadRightLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for D-pad right.

*aButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for **A** button.

*bButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for **B** button.

*xButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for **X** button.

*yButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for **Y** button.

*leftShoulderButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for left shoulder button.

*rightShoulderButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for right shoulder button.

*leftThumbstickButtonLabel*<br />
Type: [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel)

Physical label for left thumbstick button.

*hasClutch*<br />
Type: bool

Indicates whether the racing wheel has a clutch input.

*hasHandbrake*<br />
Type: bool

Indicates whether the racing wheel has a handbrake input.

*hasPatternShifter*<br />
Type: bool

Indicates whether the racing wheel has a pattern shifter.

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

The lowest gear of the pattern shifter.

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

The highest gear of the pattern shifter.

*maxWheelAngle*<br />
Type: float

The maximum angle of the racing wheel.

*extraButtonCount*<br />
Type: uint32\_t

The number of device buttons that are not mapped to racing wheel buttons.

*extraAxisCount*<br />
Type: uint32\_t

The number of device axes that are not mapped to racing wheel axes.

<a id="remarksSection" />

## Remarks

This structure is used in the [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo) structure. `GameInputDeviceInfo` is used by the [IGameInputDevice::GetDeviceInfo](/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo) method.

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

<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                                                                                                                                                                                                                                             |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **v3**  | **Added** 8 button labels (`aButtonLabel`, `bButtonLabel`, `xButtonLabel`, `yButtonLabel`, `leftShoulderButtonLabel`, `rightShoulderButtonLabel`, `leftThumbstickButtonLabel`, `rightThumbstickButtonLabel`), `extraButtonCount`, `extraAxisCount`. |
| **v0**  | Introduced.                                                                                                                                                                                                                                         |

## Appendix: Previous versions

### v0, v1, v2

```cpp theme={null}
struct GameInputRacingWheelInfo
{
    GameInputLabel menuButtonLabel;
    GameInputLabel viewButtonLabel;
    GameInputLabel previousGearButtonLabel;
    GameInputLabel nextGearButtonLabel;
    GameInputLabel dpadUpLabel;
    GameInputLabel dpadDownLabel;
    GameInputLabel dpadLeftLabel;
    GameInputLabel dpadRightLabel;
    bool           hasClutch;
    bool           hasHandbrake;
    bool           hasPatternShifter;
    int32_t        minPatternShifterGear;
    int32_t        maxPatternShifterGear;
    float          maxWheelAngle;
};
```


## Related topics

- [GameInputRacingWheelState](/reference/input/gameinput/structs/gameinputracingwheelstate.md)
- [GameInputLabel](/reference/input/gameinput/enums/gameinputlabel.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo.md)
- [GameInputRacingWheelButtons](/reference/input/gameinput/enums/gameinputracingwheelbuttons.md)
