QKeyboardController Class

(Qt3DInput::QKeyboardController)
Header: #include <QKeyboardController>
qmake: QT += 3dinput
Since: Qt 5.5
Instantiated By: KeyboardController
Inherits: Qt3DInput::QAbstractPhysicalDevice

Properties

Public Functions

QKeyboardController(QNode *parent = Q_NULLPTR)
~QKeyboardController()
QKeyboardInput *activeInput() const

Reimplemented Public Functions

virtual int axisCount() const
virtual int axisIdentifier(const QString &name) const
virtual QStringList axisNames() const
virtual int buttonCount() const
virtual int buttonIdentifier(const QString &name) const
virtual QStringList buttonNames() const

Signals

void activeInputChanged(QKeyboardInput *activeInput)

Protected Functions

void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)

Additional Inherited Members

Detailed Description

Property Documentation

activeInput : Qt3DInput::QKeyboardInput * const

Access functions:

QKeyboardInput *activeInput() const

Notifier signal:

void activeInputChanged(QKeyboardInput *activeInput)

Member Function Documentation

QKeyboardController::QKeyboardController(QNode *parent = Q_NULLPTR)

Default constructs an instance of QKeyboardController.

QKeyboardController::~QKeyboardController()

Destroys the instance of QKeyboardController.

[virtual] int QKeyboardController::axisCount() const

[virtual] int QKeyboardController::axisIdentifier(const QString &name) const

[virtual] QStringList QKeyboardController::axisNames() const

[virtual] int QKeyboardController::buttonCount() const

[virtual] int QKeyboardController::buttonIdentifier(const QString &name) const

[virtual] QStringList QKeyboardController::buttonNames() const

[protected] void QKeyboardController::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)

© 2017 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.