QKeyboardDevice Class▲
-
Header: QKeyboardDevice
-
Since: Qt 5.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
-
qmake: QT += 3dinput
-
Inherited By:
-
Instantiated By: qml-qt3d-input-keyboarddevice.xml
-
Inherits: Qt3DInput::QAbstractPhysicalDevice
Detailed Description▲
Property Documentation▲
[read-only] activeInput : Qt3DInput::QKeyboardHandler* const▲
Holds the active QKeyboardHandler of the device.
Access functions:
-
*activeInput() const
Notifier signal:
-
void activeInputChanged( *activeInput)
Member Function Documentation▲
[explicit] QKeyboardDevice::QKeyboardDevice(Qt3DCore::QNode *parent = nullptr)▲
Constructs a new QKeyboardDevice instance with parent.
[override virtual] int QKeyboardDevice::axisCount() const▲
Reimplements: QAbstractPhysicalDevice::axisCount() const.
Returns the axis count.
Currently always returns zero.
[override virtual] int QKeyboardDevice::axisIdentifier(const QString &name) const▲
Reimplements: QAbstractPhysicalDevice::axisIdentifier(const QString &name) const.
Returns the axisIdentifier matching the name.
[override virtual] QStringList QKeyboardDevice::axisNames() const▲
Reimplements: QAbstractPhysicalDevice::axisNames() const.
Returns the axis names.
Currently always returns empty QStringList.
[override virtual] int QKeyboardDevice::buttonCount() const▲
Returns the button count.
[override virtual] int QKeyboardDevice::buttonIdentifier(const QString &name) const▲
Returns the buttonIdentifier matching the name.
[override virtual] QStringList QKeyboardDevice::buttonNames() const▲
Returns the button names.