Qt Gamepad QML 类型

The Qt Gamepad module provides QML types that can be used to access the state of gamepad hardware that may be available on a system.

可以使用以下 import 语句将 QML 类型导入应用程序:

import QtGamepad 1.12
					

要链接到模块,添加此行到 qmake .pro 文件:

QT += gamepad
					

有关在应用程序中使用这些类型的更多信息,见 Qt Gamepad 文档编制。

Gamepad A gamepad device connected to a system
GamepadManager Queries attached gamepads and related events