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

# Touch Adaptation Kit (TAK) 参考

> Touch Adaptation Kit (TAK) 参考，用于构建触控布局、包，以及使用 tak.exe 为串流的 XBOX 游戏启用触控操作。

## 包与工具

| 主题 | 说明 |
| :- | :- |
| [触控适配包 (TAB)](https://docs.xbox.com/zh-CN/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-bundle.md) | 一个自包含的布局、资源和配置集，用于使游戏能够通过触控游玩。 |
| [Touch Adaptation Kit 命令行工具 (tak.exe)](https://docs.xbox.com/zh-CN/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line.md) | 创建和验证触控控件布局。让串流设备能够从您的 PC 获取布局。 |

## 布局配置

触控布局的基本布局组件。

| 主题 | 说明 |
| :- | :- |
| [Layout](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-layout.md) | 游戏完整触控布局的表示形式。 |
| [Control cluster](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-control-cluster-outer.md) | 最多包含四个控件的数组，可用于占据转轮外部部分的两个插槽。 |
| [Inner wheel](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-inner-wheel.md) | 最多包含四个控件的数组，用于分割转轮的内部部分。 |
| [Layer](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-layer.md) | ***实验性*** 的子触控布局，可以叠加在基础触控布局之上。 |
| [Layer action](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-layer-action.md) | ***实验性*** 的动作，按钮可用它来显示层。 |
| [Layout orientation](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-layout-orientation.md) | （***已弃用***）触控布局将显示的方向。 |
| [Wheel](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-wheel.md) | 一组按内圈和外圈圆形区域排列的触控控件。 |

## 触控控件

可用于触控布局的一组可视控件。

| 控件 | 说明 | 示例 |
| :- | :- | :- |
| [Arcade Buttons](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-arcadebuttons.md) | 6 个或 8 个按钮按弧形排列的集合，采用街机柜的样式。 | ![Arcade Buttons](https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-touch-control-images-arcade-buttons.gif?s=92843bf4367eb4a769477816d53e09c6) |
| [Blank](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-blank.md) | 在 `layer` 中使用的 ***实验性*** 控件，用于隐藏该插槽中显示的控件。 | |
| [Button](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-button.md) | 可响应玩家触控输入的基本控件。 | ![simple buttons](https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-touch-control-images-button.gif?s=c4220861f5818014b9bd6f713b40fdd9) ![customized button](https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-touch-control-images-button-3.gif?s=a7ff14996d91ca45fbdb7863fada0968) |
| [Directional Pad](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-directionalpad.md) | 始终映射游戏手柄方向键的方向键控件。 | ![Directional Pad](https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-touch-control-images-directional-pad.gif?s=dce7c07d7c12e6491493e3871e919fdc) |
| [Joystick](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md) | 像摇杆一样运作的模拟控件。 | ![joystick](https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-touch-control-images-joystick.gif?s=23e6999e76ef9e5b230e4c5a7727e964) ![one dimensional joystick for driving](https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-touch-control-images-joystick-driving.gif?s=2920248f9ae14b3eeb007d8f03b81116) |
| [Throttle](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle.md) | 一种专门的仅 Y 轴摇杆版本，映射到扳机。为驾驶游戏设计。 | ![throttle for driving](https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-touch-control-images-throttle.gif?s=1c296dc278b1e4a66ddb1ec7c513b2d6) |
| [Touchpad](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-touchpad.md) | 使玩家能够以类似笔记本电脑触控板的方式进行交互的模拟控件。 | ![touchpad](https://mintcdn.com/microsoft-4404708b/UZTRJSf0emX1fheE/images/gdk/features/common/game-streaming-touch-control-images-touchpad.gif?s=3141b971d426c358d04654cf01d307c9) |

## 控件样式与组件

| 组件 | 说明 |
| :- | :- |
| [Action](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-action.md) | 可以引用的物理控制器动作。 |
| [Asset](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-asset.md) | 对已包含在触控适配包中的自定义图像的引用。 |
| [Axis](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-axis.md) | 触控控件到等效物理模拟控件映射的定义。 |
| [Color](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-color.md) | 对颜色的引用。 |
| [Deadzone](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone.md) | 不应注册为输入的玩家交互量的定义。 |
| [Hexcolor](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-hexcolor.md) | 包含要引用的 RGBA 颜色值的十六进制表示的字符串。 |
| [Icon](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-icon.md) | 对图标的引用。 |
| [Joystick outline and indicator](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-joystick-outline.md) | 摇杆控件外环的样式属性。 |
| [Knob](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-knob.md) | 玩家可以与其交互的类按钮组件的样式属性。 |
| [Response curve](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve.md) | 输入到输出映射的曲线范围的定义。 |
| [Stroke](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-stroke.md) | 被引用对象轮廓的样式属性。 |
| [Throttle axis](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/types/game-streaming-touch-throttle-axis.md) | 油门控件轴的样式属性。 |

## 传感器控件

传感器控件允许将玩家设备上的物理传感器映射到物理控制器输入。

| 控件 | 说明 |
| :- | :- |
| [Accelerometer](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/sensor-controls/game-streaming-touch-accelerometer.md) | 一种 ***实验性*** 传感器控件，将客户端设备的加速计（如可用）映射到一组指定的轴。 |
| [Gyroscope](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/sensor-controls/game-streaming-touch-gyroscope.md) | 一种传感器控件，将设备的物理运动映射到指定的一组轴。 |


## Related topics

- [Touch Adaptation Kit (TAK) 命令行工具参考](https://docs.xbox.com/zh-CN/build/core-features/common/game-streaming/tak-command-line-tool/index.md)
- [Touch Adaptation Kit](https://docs.xbox.com/zh-CN/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [Touch Adaptation Kit 编辑器：设置](https://docs.xbox.com/zh-CN/build/core-features/common/game-streaming/tak-editor/game-streaming-tak-editor-setup.md)
- [适用于 Visual Studio Code 的 Touch Adaptation Kit (TAK) 编辑器](https://docs.xbox.com/zh-CN/build/core-features/common/game-streaming/tak-editor/index.md)
- [Touch Adaptation Kit 编辑器：打包适配包](https://docs.xbox.com/zh-CN/build/core-features/common/game-streaming/tak-editor/game-streaming-tak-editor-pack-bundles.md)
