QActionInput

QActionInput stores Device and Buttons used to trigger an input event. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QActionInput

Synopsis

Functions

Detailed Description

class PySide6.Qt3DInput.Qt3DInput.QActionInput([parent=None])
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QActionInput instance with parent.

PySide6.Qt3DInput.Qt3DInput.QActionInput.buttons()
Return type

See also

setButtons()

PySide6.Qt3DInput.Qt3DInput.QActionInput.buttonsChanged(buttons)
Parameters

buttons

This signal is emitted when the buttons associated with the action input is changed. The buttons changed are buttons

PySide6.Qt3DInput.Qt3DInput.QActionInput.setButtons(buttons)
Parameters

buttons

Set the buttons to trigger the QActionInput instance to buttons.

See also

buttons()

PySide6.Qt3DInput.Qt3DInput.QActionInput.setSourceDevice(sourceDevice)
Parameters

sourceDevicePySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

See also

sourceDevice()

PySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDevice()
Return type

PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

PySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDeviceChanged(sourceDevice)
Parameters

sourceDevicePySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

This signal is emitted when the source device associated with the action input is changed to sourceDevice.