QGamepadKeyNavigation Class
Provides support for keyboard events triggered by gamepads. More...
| Header: | #include <QGamepadKeyNavigation> |
| qmake: | QT += gamepad |
| Inherits: | QObject |
Public Functions
| bool | active() const |
| Qt::Key | buttonAKey() const |
| Qt::Key | buttonBKey() const |
| Qt::Key | buttonGuideKey() const |
| Qt::Key | buttonL1Key() const |
| Qt::Key | buttonL2Key() const |
| Qt::Key | buttonL3Key() const |
| Qt::Key | buttonR1Key() const |
| Qt::Key | buttonR2Key() const |
| Qt::Key | buttonR3Key() const |
| Qt::Key | buttonSelectKey() const |
| Qt::Key | buttonStartKey() const |
| Qt::Key | buttonXKey() const |
| Qt::Key | buttonYKey() const |
| Qt::Key | downKey() const |
| QGamepad * | gamepad() const |
| Qt::Key | leftKey() const |
| Qt::Key | rightKey() const |
| Qt::Key | upKey() const |
Public Slots
| void | setActive(bool isActive) |
| void | setButtonAKey(Qt::Key key) |
| void | setButtonBKey(Qt::Key key) |
| void | setButtonGuideKey(Qt::Key key) |
| void | setButtonL1Key(Qt::Key key) |
| void | setButtonL2Key(Qt::Key key) |
| void | setButtonL3Key(Qt::Key key) |
| void | setButtonR1Key(Qt::Key key) |
| void | setButtonR2Key(Qt::Key key) |
| void | setButtonR3Key(Qt::Key key) |
| void | setButtonSelectKey(Qt::Key key) |
| void | setButtonStartKey(Qt::Key key) |
| void | setButtonXKey(Qt::Key key) |
| void | setButtonYKey(Qt::Key key) |
| void | setDownKey(Qt::Key key) |
| void | setGamepad(QGamepad *gamepad) |
| void | setLeftKey(Qt::Key key) |
| void | setRightKey(Qt::Key key) |
| void | setUpKey(Qt::Key key) |
Signals
| void | activeChanged(bool isActive) |
| void | buttonAKeyChanged(Qt::Key key) |
| void | buttonBKeyChanged(Qt::Key key) |
| void | buttonGuideKeyChanged(Qt::Key key) |
| void | buttonL1KeyChanged(Qt::Key key) |
| void | buttonL2KeyChanged(Qt::Key key) |
| void | buttonL3KeyChanged(Qt::Key key) |
| void | buttonR1KeyChanged(Qt::Key key) |
| void | buttonR2KeyChanged(Qt::Key key) |
| void | buttonR3KeyChanged(Qt::Key key) |
| void | buttonSelectKeyChanged(Qt::Key key) |
| void | buttonStartKeyChanged(Qt::Key key) |
| void | buttonXKeyChanged(Qt::Key key) |
| void | buttonYKeyChanged(Qt::Key key) |
| void | downKeyChanged(Qt::Key key) |
| void | gamepadChanged(QGamepad *gamepad) |
| void | leftKeyChanged(Qt::Key key) |
| void | rightKeyChanged(Qt::Key key) |
| void | upKeyChanged(Qt::Key key) |
Detailed Description
QGamepadKeyNavigation provides support for keyboard events triggered by gamepads.