Abstract base class used to define new input methods such as game controllers. More...
Header: | #include <QInputDeviceIntegration> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Since: | Qt 5.5 |
Inherits: | QObject |
virtual Qt3DInput::QAbstractPhysicalDevice * | createPhysicalDevice(const QString &name) = 0 |
void | initialize(Qt3DInput::QInputAspect *aspect) |
virtual QAbstractPhysicalDeviceBackendNode * | physicalDevice(Qt3DCore::QNodeId id) const = 0 |
virtual QList<Qt3DCore::QNodeId> | physicalDevices() const = 0 |
QInputDeviceIntegration(QObject *parent = nullptr) | |
Qt3DInput::QInputAspect * | inputAspect() const |
void | registerBackendType(const QMetaObject &metaObject, const Qt3DCore::QBackendNodeMapperPtr &functor) |
[protected]
QInputDeviceIntegration::QInputDeviceIntegration(QObject
*parent = nullptr)Creates a new QInputDeviceIntegration with parent.
[pure virtual]
Qt3DInput::QAbstractPhysicalDevice *QInputDeviceIntegration::createPhysicalDevice(const QString &name)Create the Physical device identified by name.
If not recognized return nullptr
Called by the InputAspect object after the integration has been created with aspect.
[protected]
Qt3DInput::QInputAspect *QInputDeviceIntegration::inputAspect()
constQInputDeviceIntegration::inputAspect Returns the Input Aspect associated with the InputDeviceIntegration
[pure virtual]
QAbstractPhysicalDeviceBackendNode *QInputDeviceIntegration::physicalDevice(Qt3DCore::QNodeId id) constReturns the QAbstractPhysicalDevice identified by the given id if it is related to this QInputDeviceIntegration.
[pure virtual]
QList<Qt3DCore::QNodeId>
QInputDeviceIntegration::physicalDevices() constReturns the list of node ids for physical devices associated with this QInputDeviceIntegration.
[protected]
void QInputDeviceIntegration::registerBackendType(const QMetaObject &metaObject, const Qt3DCore::QBackendNodeMapperPtr
&functor)Registers a corresponding backend class for this front end implementation with metaObject and functor.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: