PySide6.Qt3DInput.Qt3DInput.QInputAspect

class QInputAspect

Responsible for creating physical devices and handling associated jobs. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QInputAspect

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

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.

__init__([parent=None])
Parameters:

parentQObject

Constructs a new QInputAspect with parent.

availablePhysicalDevices()
Return type:

list of strings

Returns a list of all available physical devices.

createPhysicalDevice(name)
Parameters:

name – str

Return type:

QAbstractPhysicalDevice

Create a physical device identified by name using the input device integrations present returns a nullptr if it is not found.

Note

Caller is responsible for ownership.