Qt Gamepad C++ Classes

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

详细描述

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.