Qt Gamepad QML Types▲
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.
The QML types can be imported into your application using the following import statement:
Sélectionnez
import
QtGamepad 1.12
To link against the module, add this line to your qmake .pro file:
Sélectionnez
QT +=
gamepad
For more information about using these types in your application, see the Qt Gamepad documentation.
-
Gamepad: A gamepad device connected to a system.
-
GamepadManager: Queries attached gamepads and related events.