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:

import QtGamepad 1.15

To link against the module, add this line to your qmake .pro file:

QT += gamepad

For more information about using these types in your application, see the Qt Gamepad documentation.


A gamepad device connected to a system


Queries attached gamepads and related events

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.