Provides C++ classes for using gamepads. 更多...
QGamepad | A gamepad device connected to a system |
QGamepadKeyNavigation | Provides support for keyboard events triggered by gamepads |
QGamepadManager | Queries attached gamepads and related events |
要包括模块类定义,使用以下指令:
#include <QtGamepad>
要链接到模块,添加此行到
qmake
.pro
文件:
QT += gamepad
有关在应用程序中使用这些类的更多信息,见 Qt Gamepad 文档编制。