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

# XtfInput

> XtfInput

# XtfInput

用來在開發主機上模擬控制器輸入的 XBOX Tools Framework (XTF) API。

<a id="interfacesSection" />

## 介面

| 介面 | 描述 |
| - | - |
| [IXtfInputClient](/zh-TW/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t) | 代表 XTF 輸入用戶端。 |

## 函式

| 函式 | 描述 |
| - | - |
| [XtfCreateInputClient](/zh-TW/reference/tools/xtf/xtfinput/methods/xtfcreateinputclient-xtfinput-xbox-windows-m) | 使用指定的位址，初始化 IXtfInputClient 介面的新執行個體。 |

## 結構

| 結構 | 描述 |
| - | - |
| [GAMEPAD\_REPORT 結構](/zh-TW/reference/tools/xtf/xtfinput/structures/GAMEPAD_REPORT-xtfinput-xbox-windows-t) | 控制器狀態的快照。 |
| [GAMEPAD\_REPORT\_EX](/zh-TW/reference/tools/xtf/xtfinput/structures/gamepad_report_ex) | 包含延伸資訊的控制器狀態快照。 |
| [GAMEPAD\_VIBRATION](/zh-TW/reference/tools/xtf/xtfinput/structures/gamepad_vibration) | 待定 |

## 列舉

| 列舉 | 描述 |
| - | - |
| [GAMEPAD\_BUTTONS 列舉](/zh-TW/reference/tools/xtf/xtfinput/enumerations/GAMEPAD_BUTTONS-typedef-xtfinput-xbox-windows-t) | 控制器按鈕識別碼旗標。 |
| [GAMEPAD\_MORE\_BUTTONS](/zh-TW/reference/tools/xtf/xtfinput/enumerations/gamepad_more_buttons) | 僅存在於 XBOX Series 控制器上之按鈕的控制器按鈕識別碼旗標。 |

若要建立實作 IXtfInputClient 的物件，請呼叫 [XtfCreateInputClient](/zh-TW/reference/tools/xtf/xtfinput/methods/xtfcreateinputclient-xtfinput-xbox-windows-m)。


## Related topics

- [XtfCreateInputClient](/reference/tools/xtf/xtfinput/methods/xtfcreateinputclient-xtfinput-xbox-windows-m.md)
- [IXtfInputClient::SendGamepadReportWithAudio](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportwithaudio.md)
