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

A snapshot of the state of a controller with extended information.

## Syntax

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

### Members

*Buttons*\
Type: UINT16

A combination of [GAMEPAD\_BUTTONS](https://docs.xbox.com/reference/tools/xtf/xtfinput/enumerations/GAMEPAD_BUTTONS-typedef-xtfinput-xbox-windows-t.md) flag values that represent the state of the buttons on the controller.

*LeftTrigger*\
Type: UINT16

Value between 0 and 1023 that indicates how far the left trigger is pulled.

*RightTrigger*\
Type: UINT16

Value between 0 and 1023 that indicates how far the right trigger is pulled.

*LeftThumbstickX*\
Type: INT16

Value between -32768 and 32767 that indicates the position of the left thumbstick on the x-axis.

*LeftThumbstickY*\
Type: INT16

Value between -32768 and 32767 that indicates the position of the left thumbstick on the y-axis.

*RightThumbstickX*\
Type: INT16

Value between -32768 and 32767 that indicates the position of the right thumbstick on the x-axis.

*RightThumbstickY*\
Type: INT16

Value between -32768 and 32767 that indicates the position of the right thumbstick on the y-axis.

*MoreButtons*\
Type: UINT32

Buttons that are only present on the XBOX Series controllers. Use values from GAMEPAD\_MORE\_BUTTONS as a mask to specify the state of these buttons.

## Requirements

**Header:** XtfInput.h
**Library:** xtfinput.lib\
**Supported platforms:** Windows (for XBOX console tools)

## See also

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


## Related topics

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