QKeyboardDevice is in charge of dispatching keyboard events to attached QQKeyboardHandler objects. 更多...
| 头: | #include <QKeyboardDevice> | 
| qmake: | QT += 3dinput | 
| Since: | Qt 5.5 | 
| 实例化: | KeyboardDevice | 
| 继承: | Qt3DInput::QAbstractPhysicalDevice | 
| QKeyboardDevice (Qt3DCore::QNode * parent = nullptr) | |
| Qt3DInput::QKeyboardHandler * | activeInput () const | 
| virtual int | axisCount () const | 
| virtual int | axisIdentifier (const QString & name ) const | 
| virtual QStringList | axisNames () const | 
| virtual int | buttonCount () const | 
| virtual int | buttonIdentifier (const QString & name ) const | 
| virtual QStringList | buttonNames () const | 
| void | activeInputChanged (Qt3DInput::QKeyboardHandler * activeInput ) | 
| const QMetaObject | staticMetaObject | 
QKeyboardDevice is in charge of dispatching keyboard events to attached QQKeyboardHandler objects.
Holds the active QKeyboardHandler 为设备。
访问函数:
| Qt3DInput::QKeyboardHandler * | activeInput () const | 
通知程序信号:
| void | activeInputChanged (Qt3DInput::QKeyboardHandler * activeInput ) | 
构造新的 QKeyboardDevice 实例与 parent .
[虚拟]
						
						
							int
						
						QKeyboardDevice::
						
							axisCount
						
						() const
						
					重实现自 QAbstractPhysicalDevice::axisCount ().
Returns the axis count.
注意: Currently always returns zero.
[虚拟]
						
						
							int
						
						QKeyboardDevice::
						
							axisIdentifier
						
						(const
						
							
								QString
							
						
						&
						name
						) const
						
					重实现自 QAbstractPhysicalDevice::axisIdentifier ().
Returns the axisIdentifier matching the name .
[虚拟]
						
						
							
								QStringList
							
						
						QKeyboardDevice::
						
							axisNames
						
						() const
						
					重实现自 QAbstractPhysicalDevice::axisNames ().
Returns the axis names.
注意: Currently always returns empty QStringList .
[虚拟]
						
						
							int
						
						QKeyboardDevice::
						
							buttonCount
						
						() const
						
					重实现自 QAbstractPhysicalDevice::buttonCount ().
Returns the button count.
[虚拟]
						
						
							int
						
						QKeyboardDevice::
						
							buttonIdentifier
						
						(const
						
							
								QString
							
						
						&
						name
						) const
						
					重实现自 QAbstractPhysicalDevice::buttonIdentifier ().
Returns the buttonIdentifier matching the name .
[虚拟]
						
						
							
								QStringList
							
						
						QKeyboardDevice::
						
							buttonNames
						
						() const
						
					重实现自 QAbstractPhysicalDevice::buttonNames ().
Returns the button names.