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

Décrit l'état d'un volant de course.

<a id="syntaxSection" />

## Syntaxe

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

<a id="membersSection" />

### Membres

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

État des boutons d'un volant de course.

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

Rapport actuellement sélectionné sur le levier de vitesses à grille.

*wheel*<br />
Type : float

Position du volant, normalisée sous forme de valeur dans la plage \[-1.0, 1.0].

*throttle*<br />
Type : float

Position de l'accélérateur, normalisée sous forme de valeur dans la plage \[0.0, 1.0].

*brake*<br />
Type : float

Position du frein, normalisée sous forme de valeur dans la plage \[0.0, 1.0].

*clutch*<br />
Type : float

Position de l'embrayage, normalisée sous forme de valeur dans la plage \[0.0, 1.0].

*handbrake*<br />
Type : float

Position du frein à main, normalisée sous forme de valeur dans la plage \[0.0, 1.0].

<a id="remarksSection" />

## Remarques

Cette structure est utilisée par la méthode [IGameInputReading::GetRacingWheelState](/fr-CA/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getracingwheelstate).

Pour déterminer si un volant de course possède un embrayage, un frein à main ou un levier de vitesses à grille, examinez la structure [GameInputRacingWheelInfo](/fr-CA/reference/input/gameinput/structs/gameinputracingwheelinfo).

Pour plus d'informations, consultez [Lectures GameInput](/fr-CA/build/core-features/common/input/overviews/input-readings).

<a id="requirementsSection" />

## Configuration requise

**En-tête :** GameInput.h

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

<a id="seealsoSection" />

## Voir aussi

[Vue d'ensemble de GameInput](/fr-CA/build/core-features/common/input/overviews/input-overview)\
[GameInput](/fr-CA/reference/input/gameinput/gameinput_members)

## Historique des versions

| Version | Modifications |
| - | - |
| **v0** | Introduit. |


## Related topics

- [GameInputRacingWheelState](/reference/input/gameinput/structs/gameinputracingwheelstate.md)
- [IGameInputReading::GetRacingWheelState](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getracingwheelstate.md)
- [GameInputRacingWheelButtons](/reference/input/gameinput/enums/gameinputracingwheelbuttons.md)
