class QLogicalDevice#

QLogicalDevice allows the user to define a set of actions that they wish to use within an application. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QLogicalDevice

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#

__init__([parent=None])#
Parameters:

parentQNode

Constructs a new QLogicalDevice instance with parent parent.

actions()#
Return type:

.list of Qt3DInput.QAction

Returns the list of actions.

addAction(action)#
Parameters:

actionQAction

Add an action to the list of actions.

addAxis(axis)#
Parameters:

axisQAxis

Add an axis to the list of axis.

axes()#
Return type:

.list of Qt3DInput.QAxis

Returns the list of axis.

removeAction(action)#
Parameters:

actionQAction

Remove an action from the list of actions.

removeAxis(axis)#
Parameters:

axisQAxis

Remove an axis drom the list of axis.