QAbstractPhysicalDevice Class▲
-
Header: QAbstractPhysicalDevice
-
Since: Qt 5.6
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
-
qmake: QT += 3dinput
-
Inherited By: Qt3DInput::QAbstractPhysicalDeviceProxy, Qt3DInput::QKeyboardDevice, and Qt3DInput::QMouseDevice
-
Instantiated By: qml-qt3d-input-abstractphysicaldevice.xml
-
Inherits: Qt3DCore::QNode
-
Inherited By: Qt3DInput::QAbstractPhysicalDeviceProxy, Qt3DInput::QKeyboardDevice, and Qt3DInput::QMouseDevice
Detailed Description▲
Member Function Documentation▲
[explicit] QAbstractPhysicalDevice::QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr)▲
Constructs a new QAbstractPhysicalDevice instance with parent.
void QAbstractPhysicalDevice::addAxisSetting(Qt3DInput::QAxisSetting *axisSetting)▲
Add the axisSetting axisSetting to this device.
[virtual] int QAbstractPhysicalDevice::axisCount() const▲
Returns the number of axis this device has.
[virtual] int QAbstractPhysicalDevice::axisIdentifier(const QString &name) const▲
Returns the integer identifer of the axis name or -1 if it does not exist on this device.
[virtual] QStringList QAbstractPhysicalDevice::axisNames() const▲
Returns a list of the names of device's axis.
QList<Qt3DInput::QAxisSetting *> QAbstractPhysicalDevice::axisSettings() const▲
Returns the axisSettings associated with this device.
[virtual] int QAbstractPhysicalDevice::buttonCount() const▲
[virtual] int QAbstractPhysicalDevice::buttonIdentifier(const QString &name) const▲
[virtual] QStringList QAbstractPhysicalDevice::buttonNames() const▲
void QAbstractPhysicalDevice::removeAxisSetting(Qt3DInput::QAxisSetting *axisSetting)▲
Remove the axisSetting axisSetting to this device.