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

The XBOX Tools Framework (XTF) API that is used to simulate controller input on a development console.

<a id="interfacesSection" />

## Interfaces

| Interface                                                                                                        | Description                     |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| [IXtfInputClient](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t) | Represents an XTF input client. |

## Functions

| Function                                                                                                   | Description                                                                             |
| ---------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [XtfCreateInputClient](/reference/tools/xtf/xtfinput/methods/xtfcreateinputclient-xtfinput-xbox-windows-m) | Initializes a new instance of the IXtfInputClient interface with the specified address. |

## Structures

| Structure                                                                                                    | Description                                                        |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------ |
| [GAMEPAD\_REPORT structure](/reference/tools/xtf/xtfinput/structures/GAMEPAD_REPORT-xtfinput-xbox-windows-t) | A snapshot of the state of a controller.                           |
| [GAMEPAD\_REPORT\_EX](/reference/tools/xtf/xtfinput/structures/gamepad_report_ex)                            | A snapshot of the state of a controller with extended information. |
| [GAMEPAD\_VIBRATION](/reference/tools/xtf/xtfinput/structures/gamepad_vibration)                             | TBD                                                                |

## Enumerations

| Enumeration                                                                                                                | Description                                                                                      |
| -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| [GAMEPAD\_BUTTONS Enumeration](/reference/tools/xtf/xtfinput/enumerations/GAMEPAD_BUTTONS-typedef-xtfinput-xbox-windows-t) | Controller button identifier flags.                                                              |
| [GAMEPAD\_MORE\_BUTTONS](/reference/tools/xtf/xtfinput/enumerations/gamepad_more_buttons)                                  | Controller button identifier flags for buttons that are only present on XBOX Series controllers. |

To create an object that implements IXtfInputClient, call [XtfCreateInputClient](/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::SendGamepadReportEx](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportex.md)
- [IXtfInputClient::SendGamepadReportWithAudio](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/ixtfinputclient_sendgamepadreportwithaudio.md)
- [IXtfInputClient::ConnectGamepad Method](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/connectgamepad-ixtfinputclient-xtfinput-xbox-windows-m.md)
- [IXtfInputClient::DisconnectGamepad Method](/reference/tools/xtf/xtfinput/classes/IXtfInputClient/methods/disconnectgamepad-ixtfinputclient-xtfinput-xbox-windows-m.md)
