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

拡張情報を含むコントローラーの状態のスナップショット。

## 構文

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

### メンバー

*Buttons*\
型: UINT16

コントローラー上のボタンの状態を表す [GAMEPAD\_BUTTONS](/reference/tools/xtf/xtfinput/enumerations/GAMEPAD_BUTTONS-typedef-xtfinput-xbox-windows-t) フラグ値の組み合わせ。

*LeftTrigger*\
型: UINT16

左トリガーが引かれている度合いを示す、0 から 1023 の間の値。

*RightTrigger*\
型: UINT16

右トリガーが引かれている度合いを示す、0 から 1023 の間の値。

*LeftThumbstickX*\
型: INT16

左スティックの x 軸方向の位置を示す、-32768 から 32767 の間の値。

*LeftThumbstickY*\
型: INT16

左スティックの y 軸方向の位置を示す、-32768 から 32767 の間の値。

*RightThumbstickX*\
型: INT16

右スティックの x 軸方向の位置を示す、-32768 から 32767 の間の値。

*RightThumbstickY*\
型: INT16

右スティックの y 軸方向の位置を示す、-32768 から 32767 の間の値。

*MoreButtons*\
型: UINT32

XBOX Series コントローラーにのみ存在するボタン。これらのボタンの状態を指定するには、GAMEPAD\_MORE\_BUTTONS の値をマスクとして使用します。

## 要件

**ヘッダー:** XtfInput.h
**ライブラリ:** xtfinput.lib\
**対応プラットフォーム:** Windows (XBOX コンソール ツール用)

## 関連項目

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


## Related topics

- [IXtfInputClient::SendGamepadReportEx](/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)
- [IXtfInputClient::SendGamepadReportWithAudio](/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportwithaudio.md)
- [GAMEPAD_MORE_BUTTONS](/ja-jp/reference/tools/xtf/xtfinput/enumerations/gamepad_more_buttons.md)
- [GAMEPAD_REPORT 構造体](/ja-jp/reference/tools/xtf/xtfinput/structures/GAMEPAD_REPORT-xtfinput-xbox-windows-t.md)
- [IXtfInputClient::SendGamepadReport メソッド](/ja-jp/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/sendgamepadreport-ixtfinputclient-xtfinput-xbox-windows-m.md)
