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

# 将现有输入代码移植到 GameInput

> 将游戏从 XInput 或 Windows.Xbox.Input 移植到 GameInput，或在向 GDK 迁移过程中将 GameInput 与现有输入栈组合使用。

浏览 XBOX 游戏开发中的移植相关主题。

> [card] [从 Windows.Xbox.Input 移植到](https://docs.xbox.com/zh-CN/build/core-features/common/input/porting/input-porting-wxi.md)
>
> 在移植现有输入代码时，比较 Windows.Xbox.Input 和 GameInput 编程模型。

> [card] [从 XInput 移植到 GameInput](https://docs.xbox.com/zh-CN/build/core-features/common/input/porting/input-porting-xinput.md)
>
> 了解从 C 函数移植到 C++ 接口时 XInput 与 GameInput 之间的主要区别。

> [card] [将 GameInput 与现有输入结合](https://docs.xbox.com/zh-CN/build/core-features/common/input/porting/input-porting.md)
>
> 在将现有输入代码与其他输入 API 结合使用时，使其适应 GameInput 以输入为中心的模型。

## 另请参阅

* [高级](https://docs.xbox.com/zh-CN/build/core-features/common/input/advanced/index.md)
* [硬件](https://docs.xbox.com/zh-CN/build/core-features/common/input/hardware/index.md)
* [概述](https://docs.xbox.com/zh-CN/build/core-features/common/input/overviews/index.md)


## Related topics

- [将 GameInput 与现有输入堆栈结合](https://docs.xbox.com/zh-CN/build/core-features/common/input/porting/input-porting.md)
- [从 XInput 移植到 GameInput](https://docs.xbox.com/zh-CN/build/core-features/common/input/porting/input-porting-xinput.md)
- [GameInput 简介](https://docs.xbox.com/zh-CN/build/core-features/common/input/overviews/input-overview.md)
- [从 Windows.XBOX.Input 移植到 GameInput](https://docs.xbox.com/zh-CN/build/core-features/common/input/porting/input-porting-wxi.md)
- [XInputOnGameInput（API 内容）](https://docs.xbox.com/zh-CN/reference/input/xinputongameinput/xinputongameinput_members.md)
