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

# GAMEPAD_REPORT_EX

> GAMEPAD_REPORT_EX

# GAMEPAD\_REPORT\_EX

Instantané de l'état d'une manette avec des informations étendues.

## Syntaxe

```cpp theme={null}
typedef struct GAMEPAD_REPORT_EX {  
    UINT16 Buttons;  
    UINT16 LeftTrigger;  
    UINT16 RightTrigger;  
    INT16 LeftThumbstickX;  
    INT16 LeftThumbstickY;  
    INT16 RightThumbstickX;  
    INT16 RightThumbstickY;  
    UINT32 MoreButtons;  
} GAMEPAD_REPORT_EX  
```

### Membres

*Buttons*\
Type : UINT16

Combinaison de valeurs d'indicateurs [GAMEPAD\_BUTTONS](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/enumerations/GAMEPAD_BUTTONS-typedef-xtfinput-xbox-windows-t.md) qui représentent l'état des boutons de la manette.

*LeftTrigger*\
Type : UINT16

Valeur comprise entre 0 et 1023 qui indique dans quelle mesure la gâchette gauche est enfoncée.

*RightTrigger*\
Type : UINT16

Valeur comprise entre 0 et 1023 qui indique dans quelle mesure la gâchette droite est enfoncée.

*LeftThumbstickX*\
Type : INT16

Valeur comprise entre -32768 et 32767 qui indique la position du stick gauche sur l'axe x.

*LeftThumbstickY*\
Type : INT16

Valeur comprise entre -32768 et 32767 qui indique la position du stick gauche sur l'axe y.

*RightThumbstickX*\
Type : INT16

Valeur comprise entre -32768 et 32767 qui indique la position du stick droit sur l'axe x.

*RightThumbstickY*\
Type : INT16

Valeur comprise entre -32768 et 32767 qui indique la position du stick droit sur l'axe y.

*MoreButtons*\
Type : UINT32

Boutons présents uniquement sur les manettes XBOX Series. Utilisez les valeurs de GAMEPAD\_MORE\_BUTTONS comme masque pour spécifier l'état de ces boutons.

## Configuration requise

**En-tête :** XtfInput.h
**Bibliothèque :** xtfinput.lib\
**Plateformes prises en charge :** Windows (pour les outils de console XBOX)

## Voir aussi

[XtfInput](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/xtfinput-xbox-microsoft-n.md)\
[SendGamepadReportEx](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)\
[IXtfInputClient::ConnectGamepad](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m.md)


## Related topics

- [SendGamepadReportEx](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)
- [SendGamepadReportWithAudio](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportwithaudio.md)
- [XtfInput (contenu de l'API)](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/xtfinput-xbox-microsoft-n.md)
- [GAMEPAD_MORE_BUTTONS](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/enumerations/gamepad_more_buttons.md)
- [Interface IXtfInputClient (contenu de l'interface)](https://docs.xbox.com/fr/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t.md)
