QKeyboardDevice is in charge of dispatching keyboard events to attached QQKeyboardHandler objects. More...
Header: | #include <QKeyboardDevice> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Since: | Qt 5.5 |
Instantiated By: | KeyboardDevice |
Inherits: | Qt3DInput::QAbstractPhysicalDevice |
QKeyboardDevice(Qt3DCore::QNode *parent = nullptr) | |
Qt3DInput::QKeyboardHandler * | activeInput() const |
virtual int | axisCount() const override |
virtual int | axisIdentifier(const QString &name) const override |
virtual QStringList | axisNames() const override |
virtual int | buttonCount() const override |
virtual int | buttonIdentifier(const QString &name) const override |
virtual QStringList | buttonNames() const override |
void | activeInputChanged(Qt3DInput::QKeyboardHandler *activeInput) |
[read-only]
activeInput : Qt3DInput::QKeyboardHandler* constHolds the active QKeyboardHandler of the device.
Access functions:
Qt3DInput::QKeyboardHandler * | activeInput() const |
Notifier signal:
void | activeInputChanged(Qt3DInput::QKeyboardHandler *activeInput) |
Constructs a new QKeyboardDevice instance with parent.
[override virtual]
int QKeyboardDevice::axisCount() constReimplements: QAbstractPhysicalDevice::axisCount() const.
Returns the axis count.
Note: Currently always returns zero.
[override virtual]
int QKeyboardDevice::axisIdentifier(const QString
&name) constReimplements: QAbstractPhysicalDevice::axisIdentifier(const QString &name) const.
Returns the axisIdentifier matching the name.
[override virtual]
QStringList QKeyboardDevice::axisNames() constReimplements: QAbstractPhysicalDevice::axisNames() const.
Returns the axis names.
Note: Currently always returns empty QStringList.
[override virtual]
int QKeyboardDevice::buttonCount() constReimplements: QAbstractPhysicalDevice::buttonCount() const.
Returns the button count.
[override virtual]
int QKeyboardDevice::buttonIdentifier(const QString &name) constReimplements: QAbstractPhysicalDevice::buttonIdentifier(const QString &name) const.
Returns the buttonIdentifier matching the name.
[override virtual]
QStringList QKeyboardDevice::buttonNames() constReimplements: QAbstractPhysicalDevice::buttonNames() const.
Returns the button names.
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: