Qt3DInput.QInputAspect¶
Responsible for creating physical devices and handling associated jobs. More…
Synopsis¶
Functions¶
def
availablePhysicalDevices
()def
createPhysicalDevice
(name)
Detailed Description¶
Handles mapping between front and backend nodes
QInputAspect
is responsible for creating physical devices. It is also the object responsible establishing the jobs to run at a particular time from the current input setup.
-
class
PySide2.Qt3DInput.Qt3DInput.
QInputAspect
([parent=None])¶ - param parent
QObject
Constructs a new
QInputAspect
withparent
.
-
PySide2.Qt3DInput.Qt3DInput.QInputAspect.
availablePhysicalDevices
()¶ - Return type
list of strings
Returns a list of all available physical devices.
-
PySide2.Qt3DInput.Qt3DInput.QInputAspect.
createPhysicalDevice
(name)¶ - Parameters
name – unicode
- Return type
QAbstractPhysicalDevice
Create a physical device identified by
name
using the input device integrations present returns anullptr
if it is not found.Note
Caller is responsible for ownership.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.