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

# GAMEPAD_REPORT_EX

> GAMEPAD_REPORT_EX

# GAMEPAD\_REPORT\_EX

Um instantâneo do estado de um controle com informações estendidas.

## Sintaxe

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

### Membros

*Buttons*\
Tipo: UINT16

Uma combinação de valores de sinalizador [GAMEPAD\_BUTTONS](/pt-BR/reference/tools/xtf/xtfinput/enumerations/GAMEPAD_BUTTONS-typedef-xtfinput-xbox-windows-t) que representam o estado dos botões do controle.

*LeftTrigger*\
Tipo: UINT16

Valor entre 0 e 1023 que indica o quanto o gatilho esquerdo está pressionado.

*RightTrigger*\
Tipo: UINT16

Valor entre 0 e 1023 que indica o quanto o gatilho direito está pressionado.

*LeftThumbstickX*\
Tipo: INT16

Valor entre -32768 e 32767 que indica a posição do direcional analógico esquerdo no eixo x.

*LeftThumbstickY*\
Tipo: INT16

Valor entre -32768 e 32767 que indica a posição do direcional analógico esquerdo no eixo y.

*RightThumbstickX*\
Tipo: INT16

Valor entre -32768 e 32767 que indica a posição do direcional analógico direito no eixo x.

*RightThumbstickY*\
Tipo: INT16

Valor entre -32768 e 32767 que indica a posição do direcional analógico direito no eixo y.

*MoreButtons*\
Tipo: UINT32

Botões presentes apenas nos controles XBOX Series. Use valores de GAMEPAD\_MORE\_BUTTONS como máscara para especificar o estado desses botões.

## Requisitos

**Cabeçalho:** XtfInput.h
**Biblioteca:** xtfinput.lib\
**Plataformas com suporte:** Windows (para ferramentas de console XBOX)

## Confira também

[XtfInput](/pt-BR/reference/tools/xtf/xtfinput/xtfinput-xbox-microsoft-n)\
[SendGamepadReportEx](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex)\
[IXtfInputClient::ConnectGamepad](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m)


## Related topics

- [IXtfInputClient::SendGamepadReportEx](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)
- [IXtfInputClient::SendGamepadReportWithAudio](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportwithaudio.md)
- [GAMEPAD_MORE_BUTTONS](/pt-BR/reference/tools/xtf/xtfinput/enumerations/gamepad_more_buttons.md)
- [Estrutura GAMEPAD_REPORT](/pt-BR/reference/tools/xtf/xtfinput/structures/GAMEPAD_REPORT-xtfinput-xbox-windows-t.md)
- [Método IXtfInputClient::SendGamepadReport](/pt-BR/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/sendgamepadreport-ixtfinputclient-xtfinput-xbox-windows-m.md)
