Responsible for creating physical devices and handling associated jobs. More...
Header: | #include <QInputAspect> |
CMake: | find_package(Qt6 COMPONENTS 3dinput REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Since: | Qt 5.5 |
Inherits: | Qt3DCore::QAbstractAspect |
QInputAspect(QObject *parent = nullptr) | |
QStringList | availablePhysicalDevices() const |
Qt3DInput::QAbstractPhysicalDevice * | createPhysicalDevice(const QString &name) |
QInputAspect is responsible for creating physical devices. It is also the object responsible establishing the jobs to run at a particular time from the current input setup.
Constructs a new QInputAspect with parent.
Returns a list of all available physical devices.
Create a physical device identified by name using the input device integrations present returns a nullptr
if it is not found.
Note: Caller is responsible for ownership.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qt3dinput-qinputaspect.html