QAbstractPhysicalDevice is the base class used by Qt3d to interact with arbitrary input devices. More...
| Header: | #include <QAbstractPhysicalDevice> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput)target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| In QML: | AbstractPhysicalDevice |
| Inherits: | Qt3DCore::QNode |
| Inherited By: |
Qt3DInput::QAbstractPhysicalDeviceProxy, Qt3DInput::QKeyboardDevice, and Qt3DInput::QMouseDevice |
| Status: | Deprecated |
| QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr) | |
| void | addAxisSetting(Qt3DInput::QAxisSetting *axisSetting) |
| virtual int | axisCount() const |
| virtual int | axisIdentifier(const QString &name) const |
| virtual QStringList | axisNames() const |
| QList<Qt3DInput::QAxisSetting *> | axisSettings() const |
| virtual int | buttonCount() const |
| virtual int | buttonIdentifier(const QString &name) const |
| virtual QStringList | buttonNames() const |
| void | removeAxisSetting(Qt3DInput::QAxisSetting *axisSetting) |
[explicit] QAbstractPhysicalDevice::QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr)Constructs a new QAbstractPhysicalDevice instance with parent.
Add the axisSetting axisSetting to this device.
[virtual] int QAbstractPhysicalDevice::axisCount() constReturns the number of axis this device has.
[virtual] int QAbstractPhysicalDevice::axisIdentifier(const QString &name) constReturns the integer identifer of the axis name or -1 if it does not exist on this device.
[virtual] QStringList QAbstractPhysicalDevice::axisNames() constReturns a list of the names of device's axis.
Returns the axisSettings associated with this device.
[virtual] int QAbstractPhysicalDevice::buttonCount() constReturns the number of buttons this device has.
[virtual] int QAbstractPhysicalDevice::buttonIdentifier(const
QString &name) constReturns the integer identifer of the button name or -1 if it does not exist on this device.
[virtual] QStringList QAbstractPhysicalDevice::buttonNames() constReturns a list of the names of device's buttons.
Remove the axisSetting axisSetting to this device.
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: