Qt Documentation (Technology Preview) | Qt Gamepad | Qt Gamepad C++ Classes

Qt 5.9.4 Reference Documentation

# Qt Gamepad C++ Classes

Provides C++ classes for using gamepads. More...

## Classes

QGamepad | A gamepad device connected to a system
QGamepadKeyNavigation | Provides support for keyboard events triggered by gamepads
QGamepadManager | Queries attached gamepads and related events

## Detailed Description

To include the definitions of the module's classes, use the following directive:

      #include <QtGamepad>

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

      QT += gamepad

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